From 7b79a98fcf43b0e36bc7063dfc456f64893727d5 Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 27 Mar 2007 02:52:46 +0000 Subject: [PATCH] More quoting changes git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5713 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- New/compiler.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/New/compiler.pl b/New/compiler.pl index 17e074dbe..7fec33320 100755 --- a/New/compiler.pl +++ b/New/compiler.pl @@ -113,8 +113,7 @@ sub generate_script_1 { '. /usr/share/shorewall/lib.base' ); } - emit 'TEMPFILE='; - emit ''; + emit "TEMPFILE=\n"; for my $exit qw/init start tcclear started stop stopped/ { emit "run_${exit}_exit() {"; @@ -125,8 +124,9 @@ sub generate_script_1 { emit "}\n"; } - emit 'initialize()'; - emit '{'; + emitj ( 'initialize()', + '{' + ); push_indent; @@ -167,7 +167,7 @@ sub generate_script_1 { "[ -x \"$config{IPTABLES}\" ] || startup_error \"IPTABLES=$config{IPTABLES} does not exist or is not executable\"" ); } else { emitj( '[ -z "$IPTABLES" ] && IPTABLES=$(mywhich iptables 2> /dev/null)', - '' + '', '[ -n "$IPTABLES" -a -x "$IPTABLES" ] || startup_error "Can\'t find iptables executable"' ); }