Merge branch 'ticket/p/10078' into develop-olympus

* ticket/p/10078:
  [ticket/10078] Avoid \n in strings given to echo for portability.
This commit is contained in:
Andreas Fischer 2011-03-14 13:58:17 +01:00
commit 4dd7b4cb8f

View file

@ -70,8 +70,9 @@ msg=$(grep -nE '.{81,}' "$1");
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo "The following lines are greater than 80 characters long:\n" >&2; echo "The following lines are greater than 80 characters long:" >&2;
echo $msg >&2; echo >&2
echo "$msg" >&2;
quit $ERR_LENGTH; quit $ERR_LENGTH;
fi fi