chiark / gitweb /
buildserver: android --silent hides errors, so remove
authorHans-Christoph Steiner <hans@eds.org>
Tue, 21 Jun 2016 16:12:09 +0000 (18:12 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 4 Jul 2016 21:54:52 +0000 (23:54 +0200)
--silent seem to prevent `android update sdk` from exiting with an error,
so its kind of useless.  I just wanted it to suppress the verbose logs.

buildserver/provision-android-sdk

index 907b2489abf721e9645b38d635ebc617488d3c8d..ac5ab59033d4fda6c4e412ea68117a00a8a708c7 100644 (file)
@@ -23,7 +23,7 @@ fi
 
 cd /vagrant/cache
 
-# make hard links for `android update sdk` to use and delete
+# make links for `android update sdk` to use and delete
 for f in android_*.zip android-[0-9]*.zip platform-[0-9]*.zip build-tools_r*-linux.zip; do
     rm -f ${ANDROID_HOME}/temp/$f
     ln -s /vagrant/cache/$f ${ANDROID_HOME}/temp/
@@ -42,7 +42,7 @@ for f in `ls -1 build-tools*.zip`; do
     cached=,build-tools-${ver}${cached}
 done
 
-${ANDROID_HOME}/tools/android --silent update sdk --no-ui --all \
+${ANDROID_HOME}/tools/android update sdk --no-ui --all \
     --filter platform-tools,extra-android-m2repository${cached} > /dev/null <<EOH
 y