mirror of
https://gitlab.com/shorewall/code.git
synced 2025-03-03 00:51:20 +01: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;
|
||||
|
||||
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 );
|
||||
|
||||
process_shorewall_conf( $update, $annotate, $directives );
|
||||
@ -5408,7 +5414,6 @@ sub get_configuration( $$$$$ ) {
|
||||
|
||||
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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user