From c2a3c48a73815f74ed23b6aeaf03239daa6f378b Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Mon, 11 Feb 2013 10:41:06 +0000 Subject: [PATCH] bugfixing upgrade checking script to sort by file extentions --- install/upgrade_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/upgrade_check.sh b/install/upgrade_check.sh index e113f82f..cb4d09ff 100755 --- a/install/upgrade_check.sh +++ b/install/upgrade_check.sh @@ -33,7 +33,7 @@ fi # the upgrade script we are considering extensions="*.sql *.sh *.php" cd /usr/share/alternc/install/upgrades -for file in $( ls $extensions | sort -n ) ; do +for file in $( echo $extensions | sort -n ) ; do if [ -r $file ]; then # the version in the filename upvers=`strip_ext $file`