git-svn-id: http://code.autistici.org/svn/backupninja/trunk@418
758a04ac-41e6-0310-8a23-
8373a73cc35d
if [ "$singlerun" ]; then
files=$singlerun
else
- files=`find -L $configdirectory -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`
+ files=`find $configdirectory -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`
if [ -z "$files" ]; then
fatal "No backup actions configured in '$configdirectory', run ninjahelper!"
menulist=
action=
let "i = 1"
-for file in `find -L ${configdirectory} -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do
+for file in `find ${configdirectory} -follow -mindepth 1 -maxdepth 1 -type f ! -name '.*.swp' | sort -n`; do
menulist="$menulist $i $file"
actions[$i]=$file
let "i += 1"