]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: Fix error with new perl systems
authorEric Bollengier <eric@baculasystems.com>
Mon, 16 Oct 2017 16:08:55 +0000 (18:08 +0200)
committerKern Sibbald <kern@sibbald.com>
Tue, 31 Oct 2017 08:24:22 +0000 (09:24 +0100)
regress/scripts/functions

index 2722e42d91274d466325a3c8253ee42c1f5ebcf5..ca675de7423f19222f1d72c4c622c898a8a6d743 100644 (file)
@@ -811,6 +811,7 @@ db_password=${db_password:-""}
 working=${working:-"$cwd/working"}
 dumps=${dumps:-"$cwd/dumps"}
 bin=${bin:-"$cwd/bin"}
+PERL5LIB=${PERL5LIB}:$cwd
 
 # Bacula scripts
 scripts=${scripts:-"$cwd/bin"}
@@ -839,6 +840,7 @@ export rscripts
 export tmp
 export src
 export tmpsrc
+export PERL5LIB
 
 bperl="perl -Mscripts::functions"
 export bperl