From 1aaaa9e75702448704f95c156437e019bde2cb08 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 31 Jul 2010 14:52:56 +0000 Subject: configure: print error when user selects invalid advanced options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index 9f7c63f569..0896e5b699 100755 --- a/tools/configure +++ b/tools/configure @@ -491,12 +491,11 @@ whichadvanced () { echo "Enabling Windows 32 cross-compiling" win32crosscompile="yes" ;; + "") # Match enter press when finished with advanced options + cont=0 + ;; *) - if [ "$interact" ]; then - cont=0 - else - echo "[ERROR] Option $option unsupported" - fi + echo "[ERROR] Option $option unsupported" ;; esac if [ "$interact" ]; then -- cgit