diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 23:02:09 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 23:02:09 +0100 |
commit | be680422f05221fb7ad6c277b601ff3eb73be8f6 (patch) | |
tree | 8c72028ecb29e8ec14f5cd8f2f12543db159e0b5 | |
parent | 6e5ef9793e6f80393d55101a99a5f5694c2175ae (diff) | |
download | librebootfr-be680422f05221fb7ad6c277b601ff3eb73be8f6.tar.gz librebootfr-be680422f05221fb7ad6c277b601ff3eb73be8f6.zip |
download script: use printf, not echo
-rwxr-xr-x | download | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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="${*}" ;; |