From 11601b4ccdafa6db15b86371c9cbad0fe853236a Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sat, 10 Jun 2006 16:09:59 +0000 Subject: Add fix from anarcat for ${configdirectory} in ninjahelper, also add -L to find to follow symlinks in case this directory is actually not a directory, but instead a symlink to somewhere else --- src/ninjahelper.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ninjahelper.in b/src/ninjahelper.in index 3aef3f6..0116461 100755 --- a/src/ninjahelper.in +++ b/src/ninjahelper.in @@ -257,7 +257,7 @@ while true; do menulist= action= let "i = 1" -for file in `find $conf/etc/backup.d/ -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do +for file in `find -L ${configdirectory} -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do menulist="$menulist $i $file" actions[$i]=$file let "i += 1" -- cgit v1.2.3