summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)