mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 02:08:48 +02:00
Fix minor bug in compiler output beautification
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5332 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7857dc8719
commit
8cefd52c95
@ -4774,7 +4774,7 @@ __EOF__
|
|||||||
mycat()
|
mycat()
|
||||||
{
|
{
|
||||||
if [ -n "$HAVEAWK" ]; then
|
if [ -n "$HAVEAWK" ]; then
|
||||||
awk 'BEGIN {blnk=0;}; /^\s*$/ {blnk=1; next; }; { while (/^\t* /) sub(/ /, "\t" ); if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
|
awk 'BEGIN {blnk=0;}; /^[[:space:]]*$/ {blnk=1; next; }; { while (/^\t* /) sub(/ /, "\t" ); if (blnk == 1 ) { print ""; blnk=0; }; print; }' $*
|
||||||
else
|
else
|
||||||
cat $*
|
cat $*
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user