summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-07-31 14:52:56 +0000
committerNils Wallménius <nils@rockbox.org>2010-07-31 14:52:56 +0000
commit1aaaa9e75702448704f95c156437e019bde2cb08 (patch)
treed98eb14ef8024e9d3c7ab0c93aa57aa31feaaea5
parent76f4c02dc59f5c6139ffa7b2b887bf81011fcd5d (diff)
downloadrockbox-1aaaa9e75702448704f95c156437e019bde2cb08.tar.gz
rockbox-1aaaa9e75702448704f95c156437e019bde2cb08.zip
configure: print error when user selects invalid advanced options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure
index 9f7c63f569..0896e5b699 100755
--- a/tools/configure
+++ b/tools/configure
@@ -491,12 +491,11 @@ whichadvanced () {
491 echo "Enabling Windows 32 cross-compiling" 491 echo "Enabling Windows 32 cross-compiling"
492 win32crosscompile="yes" 492 win32crosscompile="yes"
493 ;; 493 ;;
494 "") # Match enter press when finished with advanced options
495 cont=0
496 ;;
494 *) 497 *)
495 if [ "$interact" ]; then 498 echo "[ERROR] Option $option unsupported"
496 cont=0
497 else
498 echo "[ERROR] Option $option unsupported"
499 fi
500 ;; 499 ;;
501 esac 500 esac
502 if [ "$interact" ]; then 501 if [ "$interact" ]; then