forked from extern/shorewall_code
Fix PERLLIB
This commit is contained in:
parent
30e4668c10
commit
2e859b69ae
@ -363,11 +363,12 @@ compiler() {
|
||||
PERL=/usr/bin/perl
|
||||
fi
|
||||
|
||||
if [ $g_perllib = share/shorewall ]; then
|
||||
$PERL $debugflags /usr/$g_libexec/shorewall/compiler.pl $options $@
|
||||
else
|
||||
eval PERL5LIB=$g_perllib $PERL $debugflags /usr/$g_libexec/shorewall/compiler.pl $options $@
|
||||
if [ $g_perllib != share/shorewall ]; then
|
||||
PERL5LIB=/usr/$g_perllib
|
||||
export PERL5LIB
|
||||
fi
|
||||
|
||||
$PERL $debugflags /usr/$g_libexec/shorewall/compiler.pl $options $@
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user