More LIBEXEC/PERLLIB fixes

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2011-05-12 07:45:54 -07:00
parent 585e5326df
commit ceecf29535
2 changed files with 4 additions and 5 deletions

View File

@ -363,7 +363,7 @@ compiler() {
PERL=/usr/bin/perl PERL=/usr/bin/perl
fi fi
if [ $g_perllib != share/shorewall ]; then if [ $g_perllib != ${g_libexec}/shorewall ]; then
PERL5LIB=/usr/$g_perllib PERL5LIB=/usr/$g_perllib
export PERL5LIB export PERL5LIB
fi fi

View File

@ -300,13 +300,12 @@ compiler() {
PERL=/usr/bin/perl PERL=/usr/bin/perl
fi fi
if [ $g_perllib = share/shorewall ]; then if [ $g_perllib != ${g_libexec}/shorewall ]; then
$PERL $debugflags $pc $options $@
else
PERL5LIB=$g_perllib PERL5LIB=$g_perllib
export PERL5LIB export PERL5LIB
$command $PERL $debugflags $pc $options $@
fi fi
$command $PERL $debugflags $pc $options $@
} }
# #