diff --git a/Shorewall6/shorewall6 b/Shorewall6/shorewall6 index 1a161cbfe..85c9fbc69 100755 --- a/Shorewall6/shorewall6 +++ b/Shorewall6/shorewall6 @@ -303,7 +303,9 @@ compiler() { if [ $g_perllib = /usr/share/shorewall ]; then $command $PERL $debugflags $pc $options $@ else - $command PERL5LIB=$g_perllib $PERL $debugflags $pc $options $@ + PERL5LIB=$g_perllib + export PERL5LIB + $command $PERL $debugflags $pc $options $@ fi }