fixed bug where config files were run in order of
authorElijah Saxon <elijah@riseup.net>
Fri, 8 Apr 2005 17:02:52 +0000 (17:02 +0000)
committerElijah Saxon <elijah@riseup.net>
Fri, 8 Apr 2005 17:02:52 +0000 (17:02 +0000)
time created instead of in numeric order.

backupninja

index b7d4a149e2e73683745e92f224faf899abd1c71f..ac504d605af123ae0f471f9f3e2ce457e511d90d 100755 (executable)
@@ -429,7 +429,7 @@ errormsg=""
 if [ "$singlerun" ]; then
        files=$singlerun
 else
 if [ "$singlerun" ]; then
        files=$singlerun
 else
-       files=`find $configdirectory -mindepth 1 `
+       files=`find $configdirectory -mindepth 1 | sort -n`
 fi
 
 for file in $files; do
 fi
 
 for file in $files; do