From c4b79d6baa2222d748c3ac6436ba1235e42ec974 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 27 Jun 2015 04:10:58 +0100 Subject: download script: fix mistake in the last two commits --- download | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'download') 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 -- cgit v1.2.3-70-g09d2