Search for perl5lib path -- it has changed on us

This commit is contained in:
John Locke 2016-01-04 22:04:07 -08:00
parent 376ed18c81
commit 3578ef79e3

View File

@ -19,7 +19,14 @@ if [ ! -z ${CREATE_DATABASE+x} ]; then
fi fi
# Needed for modules loaded by cpanm # Needed for modules loaded by cpanm
export PERL5LIB=/usr/local/lib/perl5/site_perl/5.22.0 export PERL5LIB
for PerlLib in /usr/lib/perl5* /usr/local/lib/perl5*/site_perl/* ; do
[[ -d "$PerlLib" ]] && {
PERL5LIB="$PerlLib";
echo -e "\tmaybe: $PerlLib";
}
done ;
echo "Selected PERL5LIB=$PERL5LIB";
# start ledgersmb # start ledgersmb
exec starman tools/starman.psgi exec starman tools/starman.psgi