From 0c8ffffb10d03e4e697fe647bb9f988839d91000 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 27 Mar 2007 00:59:01 +0000 Subject: [PATCH] Reverse 'here docs' madness (cperl-mode sucks); fix ADMINSISABSENTMINDED=No git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5710 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- New/compiler.pl | 71 ++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 39 deletions(-) diff --git a/New/compiler.pl b/New/compiler.pl index f25b9a4f1..8ab72dc46 100755 --- a/New/compiler.pl +++ b/New/compiler.pl @@ -73,9 +73,10 @@ sub generate_script_1 { 'PRODUCT="Shorewall Lite"' ); copy "$env{SHAREDIR}/lib.base"; + emitj ( '################################################################################', - '# End of /usr/share/shorewall/lib.base', - '################################################################################' ); + '# End of /usr/share/shorewall/lib.base', + '################################################################################' ); } else { emitj ( 'SHAREDIR=/usr/share/shorewall', 'CONFDIR=/etc/shorewall', @@ -86,15 +87,16 @@ sub generate_script_1 { emit 'TEMPFILE='; emit ''; - - for my $exit qw/init start tcclear started stop stopped/ { - emit "run_${exit}_exit() {"; - push_indent; - append_file $exit; - emit 'true'; - pop_indent; - emit "}\n"; - } + + for my $exit qw/init start tcclear started stop stopped/ + { + emit "run_${exit}_exit() {"; + push_indent; + append_file $exit; + emit 'true'; + pop_indent; + emit "}\n"; + } emit 'initialize()'; emit '{'; @@ -159,8 +161,7 @@ sub generate_script_1 { sub compile_stop_firewall() { - emit <