godir should set "T=$(gettop)"
This commit is contained in:
parent
3e51fa489a
commit
b9915a6a18
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue