Commit 922c9be9 authored by Steven Mondji-Lerider's avatar Steven Mondji-Lerider

replacing echo call by ls before calling sort

parent 62e807cf
......@@ -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`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment