mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
@ -65,6 +65,10 @@ while [ "$#" -gt 0 ] ; do
|
||||||
ARCH=$1
|
ARCH=$1
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unknown argument $1"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue