mirror of
https://github.com/curl/curl.git
synced 2026-04-15 04:31:40 +03:00
runtests and friends: Do not add undefined values to @INC
On FreeBSD this fixes the warning: Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
This commit is contained in:
parent
3c6ea7ca82
commit
ca5f4e2135
7 changed files with 14 additions and 7 deletions
|
|
@ -22,7 +22,8 @@
|
|||
#***************************************************************************
|
||||
|
||||
BEGIN {
|
||||
@INC=(@INC, $ENV{'srcdir'}, '.');
|
||||
push(@INC, $ENV{'srcdir'}) if(defined $ENV{'srcdir'});
|
||||
push(@INC, ".");
|
||||
}
|
||||
|
||||
use strict;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue