Allow WARNMSG to contain/start with '#'

Previosuly this error was being displayed:
	108: [: x#: unexpected operator
This commit is contained in:
Andreas Rammhold 2013-04-28 13:57:28 +02:00
parent 57ce1c70c8
commit f1579e50ca

View file

@ -105,7 +105,7 @@ fi
cd ${WORKDIR}
if [ x${WARNMSG} = "x" ]; then
if [ "x${WARNMSG}" = "x" ]; then
: > "fragments.concat"
else
printf '%s\n' "$WARNMSG" > "fragments.concat"