aboutsummaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 23:06:48 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-29 23:06:48 +0100
commitb4d69f3f0b6612b5402186b877083e986e82515d (patch)
tree1354bf626688f2e26e9f95d8fe7d55f667c69452 /download
parentbe680422f05221fb7ad6c277b601ff3eb73be8f6 (diff)
downloadlibrebootfr-b4d69f3f0b6612b5402186b877083e986e82515d.tar.gz
librebootfr-b4d69f3f0b6612b5402186b877083e986e82515d.zip
download script: more standards compliance fixes
Diffstat (limited to 'download')
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index 4071a9be..366bded9 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)