diff options
author | Anton Lundin <glance@acc.umu.se> | 2017-02-06 15:55:37 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-02-06 21:13:49 -0800 |
commit | 9f7c3c31f7e66873690606ca40f33ddf20de7ad2 (patch) | |
tree | f445e041c211d11e01081d10946ac0a18ddfe88d | |
parent | b7a1b2dbf6c66d6b585a89b7c310277f03088b6d (diff) | |
download | subsurface-9f7c3c31f7e66873690606ca40f33ddf20de7ad2.tar.gz |
android-wrapper: Auto accept android sdk license
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | packaging/android/android-build-wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh index c8dd1e1d1..6242809e8 100644 --- a/packaging/android/android-build-wrapper.sh +++ b/packaging/android/android-build-wrapper.sh @@ -82,7 +82,7 @@ if [ ! -d $ANDROID_SDK ] ; then mkdir $ANDROID_SDK pushd $ANDROID_SDK unzip -q ../$SDK_TOOLS - bash tools/android update sdk --no-ui -a -t 1,2,3,33 + ( sleep 5 && while true ; do sleep 1; echo y; done ) | bash tools/android update sdk --no-ui -a -t 1,2,3,33 popd fi |