From 0dcee91e61b7a87d6e9cd4022554a32898d4704b Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Wed, 1 Feb 2017 22:07:45 -0800 Subject: ART: Fix buildbot-build.sh Fix infinite loop for unrecognized options. Test: art/tools/buildbot-build.sh --host Test: art/tools/buildbot-build.sh --mode=host Change-Id: I9f3b53021d83ddef2dca89b414065b9ea0bfafbf --- tools/buildbot-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh index 2d26b4858d..963efa49a5 100755 --- a/tools/buildbot-build.sh +++ b/tools/buildbot-build.sh @@ -52,6 +52,9 @@ while true; do shift elif [[ "$1" == "" ]]; then break + else + echo "Unknown options $@" + exit 1 fi done -- cgit v1.2.3-59-g8ed1b