mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-19 13:10:05 +02:00
More LIBEXEC/PERLLIB fixes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -363,7 +363,7 @@ compiler() {
|
||||
PERL=/usr/bin/perl
|
||||
fi
|
||||
|
||||
if [ $g_perllib = share/shorewall ]; then
|
||||
if [ $g_perllib = ${g_libexec}/shorewall ]; then
|
||||
$PERL $debugflags $g_libexec/shorewall/compiler.pl $options $@
|
||||
else
|
||||
PERL5LIB=$g_perllib
|
||||
@@ -1595,8 +1595,8 @@ CONFDIR=/etc/shorewall
|
||||
g_product="Shorewall"
|
||||
g_recovering=
|
||||
g_timestamp=
|
||||
g_libexec=/usr/share/shorewall
|
||||
g_perllib=share/shorewall
|
||||
g_libexec=/usr/share
|
||||
g_perllib=/usr/share/shorewall
|
||||
|
||||
[ -f ${CONFDIR}/vardir ] && . ${CONFDIR}/vardir
|
||||
|
||||
|
@@ -300,7 +300,7 @@ compiler() {
|
||||
PERL=/usr/bin/perl
|
||||
fi
|
||||
|
||||
if [ $g_perllib = /usr/share/shorewall ]; then
|
||||
if [ $g_perllib = ${g_libexec}/shorewall ]; then
|
||||
$command $PERL $debugflags $pc $options $@
|
||||
else
|
||||
PERL5LIB=$g_perllib
|
||||
|
Reference in New Issue
Block a user