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

This commit is contained in:
Tim 2011-04-20 14:54:27 -07:00
parent 031bf26128
commit 0c5dcc82c4

View 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