]> gitweb.fluxo.info Git - puppet-concat.git/commitdiff
Dash (default /bin/sh on Debian and Ubuntu) does not support 'echo -e'. That invocat...
authorTim <tim@clockwork.net>
Wed, 20 Apr 2011 21:54:27 +0000 (14:54 -0700)
committerTim <tim@clockwork.net>
Wed, 20 Apr 2011 21:54:27 +0000 (14:54 -0700)
files/concatfragments.sh

index 52fd6845366f3093ef081cc4e623672a6ca569db..47663fdb5aa9811e403e6d6d403317c2059e92e0 100644 (file)
@@ -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