diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index a2b0cbb14..3384f0f50 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -93,11 +93,10 @@ sub generate_script_1( $ ) { my $date = compiletime; emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#"; - - copy $globals{SHAREDIRPL} . '/lib.runtime', 0; - copy2 $globals{SHAREDIRPL} . '/lib.common' , $debug; } + copy $globals{SHAREDIRPL} . '/lib.runtime', 0; + copy2 $globals{SHAREDIRPL} . '/lib.common' , $debug; } my $lib = find_file 'lib.private'; @@ -945,7 +944,7 @@ sub compiler { # # Copy the footer to the script # - copy $globals{SHAREDIRPL} . 'prog.footer' unless $test; + copy $globals{SHAREDIRPL} . 'prog.footer'; disable_script; #