summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-26 23:10:58 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-26 23:11:12 (EDT)
commitc4b79d6baa2222d748c3ac6436ba1235e42ec974 (patch)
treea45873cff3222d8f92eb1858f905414efbb52bb6
parent0731a062158b74e02543e98a887bdd28e624d61d (diff)
downloadlibreboot-c4b79d6baa2222d748c3ac6436ba1235e42ec974.zip
libreboot-c4b79d6baa2222d748c3ac6436ba1235e42ec974.tar.gz
libreboot-c4b79d6baa2222d748c3ac6436ba1235e42ec974.tar.bz2
download script: fix mistake in the last two commits
-rwxr-xr-xdownload5
1 files changed, 3 insertions, 2 deletions
diff --git a/download b/download
index 29b275d..0383cad 100755
--- a/download
+++ b/download
@@ -48,11 +48,12 @@ if [ "${programmes}" = "all" ]; then
elif [ "${programmes}" = "list" ]; then
printf "Available programmes are:\nall\n%s\n" "${availableprogrammes}"
else
- for programme in programmes; do
+ for programme in ${programmes}; do
+ printf "\"%s\"\n" "${programme}"
if [ -f "${download}/${programme}" ]; then
${download}/${programme}
else
- printf "download: WARNING: Invalid programme '%s'. Available programmes are:\nall\n%s\n" "${programme}" "${availableprogrammes}"
+ printf "download: WARNING: Invalid programme '%s'. Available programmes are:\nall\n%s\n" "${programmes}" "${availableprogrammes}"
fi
done
fi