mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
commit
4dd7b4cb8f
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue