aboutsummaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-27 04:10:58 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-27 04:11:12 +0100
commitc4b79d6baa2222d748c3ac6436ba1235e42ec974 (patch)
treea45873cff3222d8f92eb1858f905414efbb52bb6 /download
parent0731a062158b74e02543e98a887bdd28e624d61d (diff)
downloadlibrebootfr-c4b79d6baa2222d748c3ac6436ba1235e42ec974.tar.gz
librebootfr-c4b79d6baa2222d748c3ac6436ba1235e42ec974.zip
download script: fix mistake in the last two commits
Diffstat (limited to 'download')
-rwxr-xr-xdownload5
1 files changed, 3 insertions, 2 deletions
diff --git a/download b/download
index 29b275d7..0383cadc 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