libreboot

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

commit 67c8330aad941b769e6a2887f02a865eb01a858a
parent 5609232858950a676434adc7a96a722ae27dba76
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sat, 29 Aug 2015 21:59:19 +0100

download script: produce error if no argument given

Diffstat:
download | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/download b/download @@ -26,6 +26,11 @@ set -u -e download=./resources/scripts/helpers/download programmes=$(ls ${download}/) +if [ $# -lt 1 ]; then + printf "ERROR: download script: no argmunt given.\n" + exit 1 +fi + case ${@} in all) ;;