summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR.I.Pienaar <rip@devco.net>2011-06-23 15:20:24 -0700
committerR.I.Pienaar <rip@devco.net>2011-06-23 15:20:24 -0700
commit103504b310d307fdf6dcb9ad4c89602abd2b07eb (patch)
tree61c13f2518a79eec14133dbd7db36400fe216bfa
parent41a8ea2799e3295a3c64226d4c2802f8c92cc2d2 (diff)
parent0c5dcc82c4d58dbb88ea7ebdb0ab2f76c303bb88 (diff)
downloadpuppet-concat-103504b310d307fdf6dcb9ad4c89602abd2b07eb.tar.gz
puppet-concat-103504b310d307fdf6dcb9ad4c89602abd2b07eb.tar.bz2
Merge pull request #5 from TimBaldoni/master
updated to better support dash
-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