summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <tim@clockwork.net>2011-04-20 14:54:27 -0700
committerTim <tim@clockwork.net>2011-04-20 14:54:27 -0700
commit0c5dcc82c4d58dbb88ea7ebdb0ab2f76c303bb88 (patch)
treef8abcc9b3412d08d69462325ab84a1546796f183
parent031bf261289dcbb32e63b053ed5b3a82117698c0 (diff)
downloadpuppet-concat-0c5dcc82c4d58dbb88ea7ebdb0ab2f76c303bb88.tar.gz
puppet-concat-0c5dcc82c4d58dbb88ea7ebdb0ab2f76c303bb88.tar.bz2
Dash (default /bin/sh on Debian and Ubuntu) does not support 'echo -e'. That invocation of echo is not POSIX compliant: https://bugs.launchpad.net/ubuntu/+source/dash/+bug/72167
-rw-r--r--files/concatfragments.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/concatfragments.sh b/files/concatfragments.sh
index 52fd684..47663fd 100644
--- a/files/concatfragments.sh
+++ b/files/concatfragments.sh
@@ -111,7 +111,7 @@ cd ${WORKDIR}
if [ x${WARNMSG} = "x" ]; then
: > "fragments.concat"
else
- echo -e "$WARNMSG" > "fragments.concat"
+ printf '%s\n' "$WARNMSG" > "fragments.concat"
fi
# find all the files in the fragments directory, sort them numerically and concat to fragments.concat in the working dir