Add hidden option to allow testing of new perl-based compiler -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5496 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-03-11 21:23:23 +00:00
parent 829a6fd249
commit 8c062d98c6

View File

@ -5691,13 +5691,13 @@ case "$COMMAND" in
check)
[ $# -ne 1 ] && usage
do_initialize
[ -n "$EXPERIMENTAL" ] && exec perl $debug $(find_file compiler.pl) || exec compile_firewall
[ -n "$EXPERIMENTAL" ] && exec perl $debug $(find_file compiler.pl) || compile_firewall
;;
compile)
[ $# -ne 2 ] && usage
do_initialize
[ -n "$EXPERIMENTAL" ] && exec perl $debug $(find_file compiler.pl) $2 || exec compile_firewall $2
[ -n "$EXPERIMENTAL" ] && exec perl $debug $(find_file compiler.pl) $2 || compile_firewall $2
;;
call)