summaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent76f4c02dc59f5c6139ffa7b2b887bf81011fcd5d (diff)
downloadrockbox-1aaaa9e75702448704f95c156437e019bde2cb08.tar.gz
rockbox-1aaaa9e75702448704f95c156437e019bde2cb08.tar.bz2
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
Diffstat (limited to 'tools')
-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 () {
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