mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-10 08:04:12 +02:00
Expunge the g_libexec variable
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@ -363,7 +363,7 @@ compiler() {
|
||||
local shorewallrc
|
||||
local shorewallrc1
|
||||
|
||||
pc=$g_libexec/shorewall/compiler.pl
|
||||
pc=${LIBEXECDIR}/shorewall/compiler.pl
|
||||
|
||||
if [ $(id -u) -ne 0 ]; then
|
||||
if [ -z "$g_shorewalldir" -o "$g_shorewalldir" = /etc/$g_program ]; then
|
||||
@ -430,7 +430,7 @@ compiler() {
|
||||
PERL=/usr/bin/perl
|
||||
fi
|
||||
|
||||
if [ $g_perllib = ${g_libexec}/shorewall ]; then
|
||||
if [ $g_perllib = ${LIBEXECDIR}/shorewall ]; then
|
||||
$PERL $debugflags $pc $options $@
|
||||
else
|
||||
PERL5LIB=$g_perllib
|
||||
|
Reference in New Issue
Block a user