Expunge the g_libexec variable

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep
2012-10-01 06:51:36 -07:00
parent 526ad75c49
commit 749e239d15
10 changed files with 4 additions and 13 deletions

View File

@ -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