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
|
PERL=/usr/bin/perl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $g_perllib != share/shorewall ]; then
|
if [ $g_perllib != ${g_libexec}/shorewall ]; then
|
||||||
PERL5LIB=/usr/$g_perllib
|
PERL5LIB=/usr/$g_perllib
|
||||||
export PERL5LIB
|
export PERL5LIB
|
||||||
fi
|
fi
|
||||||
|
@ -300,13 +300,12 @@ compiler() {
|
|||||||
PERL=/usr/bin/perl
|
PERL=/usr/bin/perl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $g_perllib = share/shorewall ]; then
|
if [ $g_perllib != ${g_libexec}/shorewall ]; then
|
||||||
$PERL $debugflags $pc $options $@
|
|
||||||
else
|
|
||||||
PERL5LIB=$g_perllib
|
PERL5LIB=$g_perllib
|
||||||
export PERL5LIB
|
export PERL5LIB
|
||||||
$command $PERL $debugflags $pc $options $@
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$command $PERL $debugflags $pc $options $@
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user