From 8cefd52c9585f2a1757f41cdb9fccabb514c6937 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 30 Jan 2007 21:23:27 +0000 Subject: [PATCH] Fix minor bug in compiler output beautification git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5332 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/compiler b/Shorewall/compiler index 58a6c8950..69354713c 100755 --- a/Shorewall/compiler +++ b/Shorewall/compiler @@ -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