From: Elijah Saxon Date: Fri, 8 Apr 2005 17:02:52 +0000 (+0000) Subject: fixed bug where config files were run in order of X-Git-Tag: backupninja-0.5~2 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=fb77e731737f3ca96f1295f9ee1f9f58278da84e fixed bug where config files were run in order of time created instead of in numeric order. --- diff --git a/backupninja b/backupninja index b7d4a14..ac504d6 100755 --- a/backupninja +++ b/backupninja @@ -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