aboutsummaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 21:55:44 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-29 21:55:44 +0100
commit434f8e0b03e4b693e065c0afdb4505c529d40e53 (patch)
treed4b9c6765ab61d9c0879d5fc3a7212e678f2fa53 /download
parented8516c4d21d049ef48be0656e40b04ac5c1d305 (diff)
downloadlibrebootfr-434f8e0b03e4b693e065c0afdb4505c529d40e53.tar.gz
librebootfr-434f8e0b03e4b693e065c0afdb4505c529d40e53.zip
download script: exit if using help/list option
Diffstat (limited to 'download')
-rwxr-xr-xdownload3
1 files changed, 2 insertions, 1 deletions
diff --git a/download b/download
index 21d49eb9..b3766f59 100755
--- a/download
+++ b/download
@@ -28,10 +28,10 @@ programmes=$(ls ${download}/)
case ${@} in
all)
-
;;
list)
printf "possible values for 'programmes':\nall:\n%s\n\n" "${programmes}"
+ exit
;;
help)
printf "%s\n\n" "./download programme(s) # programmes are space separated, if specifing multiple programmes"
@@ -41,6 +41,7 @@ case ${@} in
printf "Example (download coreboot): ./download coreboot\n"
printf "Example (download coreboot and flashrom): ./download coreboot flashrom\n"
printf "Example (lists all available downloadable components): ./download list\n"
+ exit
;;
*)
for programme in ${@}; do