From 0c5dcc82c4d58dbb88ea7ebdb0ab2f76c303bb88 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 20 Apr 2011 14:54:27 -0700 Subject: [PATCH] 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 --- files/concatfragments.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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