libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 434f8e0b03e4b693e065c0afdb4505c529d40e53
parent ed8516c4d21d049ef48be0656e40b04ac5c1d305
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sat, 29 Aug 2015 21:55:44 +0100

download script: exit if using help/list option

Diffstat:
download | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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