From 9a4013829ad5b140fa8620d98175380706d43276 Mon Sep 17 00:00:00 2001 From: Keiran Raine Date: Thu, 29 Sep 2016 10:36:38 +0100 Subject: [PATCH] Force perl5 into main env --- setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 85168cb..8f96237 100755 --- a/setup.sh +++ b/setup.sh @@ -92,11 +92,13 @@ PERLROOT=$INST_PATH/lib/perl5 # allows user to knowingly specify other PERL5LIB areas. if [ -z ${CGP_PERLLIBS+x} ]; then - export PERL5LIB="$PERLROOT" + PERL5LIB="$PERLROOT" else - export PERL5LIB="$PERLROOT:$CGP_PERLLIBS" + PERL5LIB="$PERLROOT:$CGP_PERLLIBS" fi +export PERL5LIB=$PERL5LIB + #add bin path for install tests export PATH=$INST_PATH/bin:$PATH