aboutsummaryrefslogtreecommitdiff
path: root/src/ninjahelper.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2006-07-13 20:30:13 +0000
committerintrigeri <intrigeri@boum.org>2006-07-13 20:30:13 +0000
commit90316a33524fe051cbe110904391f317df13a7ac (patch)
tree7282d91e17db37d707cdd16b4c5f777248bc78d1 /src/ninjahelper.in
parent4a3b1063de0ce23f601f2f2d1f465f3efa741a33 (diff)
downloadbackupninja-90316a33524fe051cbe110904391f317df13a7ac.tar.gz
backupninja-90316a33524fe051cbe110904391f317df13a7ac.tar.bz2
backupninja and ninjahelper: have find following symlinks for config files also work on sarge, by replacing -L with -follow
Diffstat (limited to 'src/ninjahelper.in')
-rwxr-xr-xsrc/ninjahelper.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninjahelper.in b/src/ninjahelper.in
index 0116461..e9b4f9e 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 -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"