forked from extern/shorewall_code
Copy libs and footer when compiling for test
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
c900e3e51c
commit
9075a6dd7a
@ -93,13 +93,12 @@ sub generate_script_1( $ ) {
|
|||||||
my $date = compiletime;
|
my $date = compiletime;
|
||||||
|
|
||||||
emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#";
|
emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#";
|
||||||
|
}
|
||||||
|
|
||||||
copy $globals{SHAREDIRPL} . '/lib.runtime', 0;
|
copy $globals{SHAREDIRPL} . '/lib.runtime', 0;
|
||||||
copy2 $globals{SHAREDIRPL} . '/lib.common' , $debug;
|
copy2 $globals{SHAREDIRPL} . '/lib.common' , $debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
my $lib = find_file 'lib.private';
|
my $lib = find_file 'lib.private';
|
||||||
|
|
||||||
copy2( $lib, $debug ) if -f $lib;
|
copy2( $lib, $debug ) if -f $lib;
|
||||||
@ -945,7 +944,7 @@ sub compiler {
|
|||||||
#
|
#
|
||||||
# Copy the footer to the script
|
# Copy the footer to the script
|
||||||
#
|
#
|
||||||
copy $globals{SHAREDIRPL} . 'prog.footer' unless $test;
|
copy $globals{SHAREDIRPL} . 'prog.footer';
|
||||||
|
|
||||||
disable_script;
|
disable_script;
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user