From c850a2cff5d52a10a5d53b7cf9df1b34ff13e519 Mon Sep 17 00:00:00 2001 From: Steven Mondji-Lerider Date: Mon, 18 Feb 2013 11:45:17 +0000 Subject: [PATCH] Replacing echo call by ls before calling sort --- 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 cb4d09ff..e113f82f 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 $( echo $extensions | sort -n ) ; do +for file in $( ls $extensions | sort -n ) ; do if [ -r $file ]; then # the version in the filename upvers=`strip_ext $file`