aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 004c176d..4071a9be 100755
--- a/download
+++ b/download
@@ -61,7 +61,7 @@ case "${@}" in
;;
*)
for programme in "${@}"; do
- echo "${programmes}" | grep -wq "${programme}" || (printf "ERROR: Invalid programme '%s'. See ./download help.\n" "${programme}"; exit 1)
+ printf "%s" "${programmes}\n" | grep -wq "${programme}" || (printf "ERROR: Invalid programme '%s'. See ./download help.\n" "${programme}"; exit 1)
done
programmes="${*}"
;;