Skip to content
Browse files

narcissus: don't use shell alias for ls, it makes sorting unreliable

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information...
1 parent df17b43 commit c50fd59438f5e9efd93246fa10df39688a68617d @koenkooi koenkooi committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/extract-supported-machines.sh
View
2 scripts/extract-supported-machines.sh
@@ -18,7 +18,7 @@ for machine in $(find conf/ -name "arch.conf" | awk -F/ '{print $2}' | sort | un
echo "<div id='configlist'>" > conf/$machine/config-list.html
echo " <select name=\"configs\" onChange='showValues();'>" >> conf/$machine/config-list.html
- for config in $(ls conf/$machine/configs/ | sort -r ) ; do
+ for config in $('ls' conf/$machine/configs/ | sort -d ) ; do
echo " <option value=\"$(basename $config)\">$(basename $config)</option>" >> conf/$machine/config-list.html
done
echo " </select>" >> conf/$machine/config-list.html

0 comments on commit c50fd59

Please sign in to comment.
Something went wrong with that request. Please try again.