godir should set "T=$(gettop)"

This commit is contained in:
Brian Carlstrom 2010-01-29 16:39:32 -08:00
parent 3e51fa489a
commit b9915a6a18

View file

@ -985,6 +985,7 @@ function godir () {
echo "Usage: godir <regex>"
return
fi
T=$(gettop)
if [[ ! -f $T/filelist ]]; then
echo -n "Creating index..."
(cd $T; find . -wholename ./out -prune -o -type f > filelist)