aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 23:02:09 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-29 23:02:09 +0100
commitbe680422f05221fb7ad6c277b601ff3eb73be8f6 (patch)
tree8c72028ecb29e8ec14f5cd8f2f12543db159e0b5
parent6e5ef9793e6f80393d55101a99a5f5694c2175ae (diff)
downloadlibrebootfr-be680422f05221fb7ad6c277b601ff3eb73be8f6.tar.gz
librebootfr-be680422f05221fb7ad6c277b601ff3eb73be8f6.zip
download script: use printf, not echo
-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="${*}"
;;