summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 16:52:01 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 16:52:01 (EDT)
commited8516c4d21d049ef48be0656e40b04ac5c1d305 (patch)
tree6f4300d0875e84ed13d87a0e6aa678ab0fbea5b2
parent610711747339162004801b28a08cf81c33d65e48 (diff)
downloadlibreboot-ed8516c4d21d049ef48be0656e40b04ac5c1d305.zip
libreboot-ed8516c4d21d049ef48be0656e40b04ac5c1d305.tar.gz
libreboot-ed8516c4d21d049ef48be0656e40b04ac5c1d305.tar.bz2
download: fix bug: valid programmes being declared invalid
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index bed0b64..21d49eb 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}"