From 2e859b69ae664b4526c9be2a6a6e89d5288bed9e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 11 May 2011 13:43:59 -0700 Subject: [PATCH] Fix PERLLIB --- Shorewall/shorewall | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Shorewall/shorewall b/Shorewall/shorewall index fcafa8646..a7e55ac96 100755 --- a/Shorewall/shorewall +++ b/Shorewall/shorewall @@ -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 $@ } #