Fix 'check -C'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6128 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-27 00:15:12 +00:00
parent 8721d87fe3
commit 54475bc4fa

View File

@ -570,6 +570,12 @@ check_command() {
DEBUG=Yes;
option=${option#d}
;;
C)
[ $# -gt 0 ] || fatal_error "-C must be followed by a compiler name"
SHOREWALL_COMPILER=$2
option=
shift
;;
*)
usage 1
;;