forked from extern/shorewall_code
More LIBEXEC/PERLLIB fixes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
585e5326df
commit
ceecf29535
@ -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
|
||||
|
@ -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 $@
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user