diff options
author | David Mitchell <davem@iabyn.com> | 2017-04-03 17:32:58 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-04-07 14:42:24 +0100 |
commit | 3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3 (patch) | |
tree | db871d2dfb58e3a54e8721eae17a61a0c369ebda /utils | |
parent | ea572010a87173fe35caf8ebdb714741677b42b6 (diff) | |
download | perl-3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3.tar.gz |
utils/libnetcfg: fix 'do' without '.' in @INC
Note that this isn't normally executed during build, so it wasn't spotted
earlier.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/libnetcfg.PL | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/libnetcfg.PL b/utils/libnetcfg.PL index f66e9b0acb..e1e9ee270f 100644 --- a/utils/libnetcfg.PL +++ b/utils/libnetcfg.PL @@ -343,7 +343,7 @@ my %oldcfg = (); $Net::Config::CONFIGURE = 1; # Suppress load of user overrides if( -f $libnet_cfg_in ) { - %oldcfg = ( %{ do $libnet_cfg_in } ); + %oldcfg = ( %{ local @INC = '.'; do $libnet_cfg_in } ); } elsif (eval { require Net::Config }) { |