diff options
author | Nils Wallménius <nils@rockbox.org> | 2010-07-31 14:52:56 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2010-07-31 14:52:56 +0000 |
commit | 1aaaa9e75702448704f95c156437e019bde2cb08 (patch) | |
tree | d98eb14ef8024e9d3c7ab0c93aa57aa31feaaea5 /tools/configure | |
parent | 76f4c02dc59f5c6139ffa7b2b887bf81011fcd5d (diff) |
configure: print error when user selects invalid advanced options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 9 |
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 () { 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 |