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
fi
if [ $g_perllib != share/shorewall ]; then
if [ $g_perllib != ${g_libexec}/shorewall ]; then
PERL5LIB=/usr/$g_perllib
export PERL5LIB
fi

View File

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