configure: print error when user selects invalid advanced options.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27640 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
76f4c02dc5
commit
1aaaa9e757
1 changed files with 4 additions and 5 deletions
9
tools/configure
vendored
9
tools/configure
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue