From c4b79d6baa2222d748c3ac6436ba1235e42ec974 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 26 Jun 2015 23:10:58 -0400 Subject: download script: fix mistake in the last two commits --- (limited to 'download') 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 -- cgit v0.9.1