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:
teastep 2007-01-30 21:23:27 +00:00
parent 7857dc8719
commit 8cefd52c95

View File

@ -4774,7 +4774,7 @@ __EOF__
mycat()
{
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
cat $*
fi