mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-27 05:01:37 +02:00
Add default PATH to current PATH in the compiler
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
37248c9698
commit
c47abe416a
@ -5398,6 +5398,12 @@ sub get_configuration( $$$$$ ) {
|
|||||||
|
|
||||||
ensure_config_path;
|
ensure_config_path;
|
||||||
|
|
||||||
|
my $default_path = '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin';
|
||||||
|
|
||||||
|
default 'PATH' , $default_path;
|
||||||
|
|
||||||
|
$ENV{PATH} .= ":$default_path";
|
||||||
|
|
||||||
get_params( $export );
|
get_params( $export );
|
||||||
|
|
||||||
process_shorewall_conf( $update, $annotate, $directives );
|
process_shorewall_conf( $update, $annotate, $directives );
|
||||||
@ -5408,7 +5414,6 @@ sub get_configuration( $$$$$ ) {
|
|||||||
|
|
||||||
unshift @INC, @config_path;
|
unshift @INC, @config_path;
|
||||||
|
|
||||||
default 'PATH' , '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin';
|
|
||||||
#
|
#
|
||||||
# get_capabilities requires that the true settings of these options be established
|
# get_capabilities requires that the true settings of these options be established
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user