Replacing echo call by ls before calling sort
This commit is contained in:
parent
ce9ffb559e
commit
c850a2cff5
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue