summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 18:06:48 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 18:06:48 (EDT)
commitb4d69f3f0b6612b5402186b877083e986e82515d (patch)
tree1354bf626688f2e26e9f95d8fe7d55f667c69452
parentbe680422f05221fb7ad6c277b601ff3eb73be8f6 (diff)
downloadlibreboot-b4d69f3f0b6612b5402186b877083e986e82515d.zip
libreboot-b4d69f3f0b6612b5402186b877083e986e82515d.tar.gz
libreboot-b4d69f3f0b6612b5402186b877083e986e82515d.tar.bz2
download script: more standards compliance fixes
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index 4071a9b..366bded 100755
--- a/download
+++ b/download
@@ -24,7 +24,7 @@
set -u -e
download=./resources/scripts/helpers/download
-programmes=$(ls ${download}/)
+programmes=( "${download}"/* )
noconfirm="0"
help () {
@@ -48,7 +48,7 @@ if [ "${1}" = "--noconfirm" ] || [ "${1}" = "-y" ]; then
shift 1
fi
-case "${@}" in
+case "${1}" in
all)
;;
list)