Skip to content

Commit 9fbe945

Browse files
committed
Fix t/testc.sh PERL_CORE check
1 parent 726c215 commit 9fbe945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/testc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BASE=`basename $0`
4040
# if $] < 5.9 you may want to remove -Mblib for testing the core lib. -o
4141
#Mblib="`$PERL -e'print (($] < 5.009005) ? q() : q(-Mblib))'`"
4242
Mblib=${Mblib:--Iblib/arch -Iblib/lib} # B::C is now fully 5.6+5.8 backwards compatible
43-
test -n $PERL_CORE && Mblib=-I../../lib
43+
test -z $PERL_CORE || Mblib=-I../../lib
4444
v513="`$PERL -e'print (($] < 5.013005) ? q() : q(-fno-fold,-fno-warnings,))'`"
4545
# OCMD=${OCMD}${v513}
4646
if [ -z "$Mblib" ]; then
@@ -61,7 +61,7 @@ CONT=
6161
# rest. -DALLOW_PERL_OPTIONS for -Dtlv
6262
#CCMD="$PERL $Mblib script/cc_harness -g3 -DALLOW_PERL_OPTIONS"
6363
CCMD="$PERL $Mblib script/cc_harness"
64-
test -n $PERL_CORE && CCMD="$CCMD -I../.. -L../.."
64+
test -z $PERL_CORE || CCMD="$CCMD -I../.. -L../.."
6565
LCMD=
6666
# On some perls I also had to add $archlib/DynaLoader/DynaLoader.a to libs in Config.pm
6767
}

0 commit comments

Comments
 (0)