[PATCH 07/12] android-wrapper: Auto accept android sdk license

Anton Lundin glance at acc.umu.se
Mon Feb 6 06:55:37 PST 2017


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 packaging/android/android-build-wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh
index c8dd1e1..6242809 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
 
-- 
2.9.3



More information about the subsurface mailing list