mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
android: Terminate build.sh on unknown arguments
Previous code ended up in a eternal loop on unknown arguments. Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
parent
f9c85fa755
commit
3f4f160552
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ while [ "$#" -gt 0 ] ; do
|
|||
arm|x86)
|
||||
ARCH=$1
|
||||
shift
|
||||
;;
|
||||
;;
|
||||
*)
|
||||
echo "Unknown argument $1"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue