fixed bug where config files were run in order of
authorelijah <elijah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 8 Apr 2005 17:02:52 +0000 (17:02 +0000)
committerelijah <elijah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Fri, 8 Apr 2005 17:02:52 +0000 (17:02 +0000)
time created instead of in numeric order.

git-svn-id: http://code.autistici.org/svn/backupninja/trunk@100 758a04ac-41e6-0310-8a23-8373a73cc35d

backupninja

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