aboutsummaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 21:52:01 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-29 21:52:01 +0100
commited8516c4d21d049ef48be0656e40b04ac5c1d305 (patch)
tree6f4300d0875e84ed13d87a0e6aa678ab0fbea5b2 /download
parent610711747339162004801b28a08cf81c33d65e48 (diff)
downloadlibrebootfr-ed8516c4d21d049ef48be0656e40b04ac5c1d305.tar.gz
librebootfr-ed8516c4d21d049ef48be0656e40b04ac5c1d305.zip
download: fix bug: valid programmes being declared invalid
Diffstat (limited to 'download')
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index bed0b647..21d49eb9 100755
--- a/download
+++ b/download
@@ -24,11 +24,11 @@
set -u -e
download=./resources/scripts/helpers/download
-programmes="none"
+programmes=$(ls ${download}/)
case ${@} in
all)
- programmes=$(ls ${download}/)
+
;;
list)
printf "possible values for 'programmes':\nall:\n%s\n\n" "${programmes}"