--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.
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/
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