summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 18:02:09 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 18:02:09 (EDT)
commitbe680422f05221fb7ad6c277b601ff3eb73be8f6 (patch)
tree8c72028ecb29e8ec14f5cd8f2f12543db159e0b5
parent6e5ef9793e6f80393d55101a99a5f5694c2175ae (diff)
downloadlibreboot-be680422f05221fb7ad6c277b601ff3eb73be8f6.zip
libreboot-be680422f05221fb7ad6c277b601ff3eb73be8f6.tar.gz
libreboot-be680422f05221fb7ad6c277b601ff3eb73be8f6.tar.bz2
download script: use printf, not echo
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 004c176..4071a9b 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="${*}"
;;