Pass --progress-bar to curl in ensure_android_bundle

Alternatives (doing it all in node) were much more invasive.
This commit is contained in:
Justin SB
2014-10-09 10:24:11 -07:00
parent 04f515da85
commit 6bc2cff03a

View File

@@ -40,7 +40,7 @@ install_android_bundle () {
echo "Skipping download and installing kit from $DEST_DIR/$TARBALL" >&2
tar -xzf "$DEST_DIR/$TARBALL" -C "$BUNDLE_TMPDIR"
else
curl "$ANDROID_BUNDLE_URL_ROOT$TARBALL" | tar -xzf - -C "$BUNDLE_TMPDIR"
curl --progress-bar "$ANDROID_BUNDLE_URL_ROOT$TARBALL" | tar -xzf - -C "$BUNDLE_TMPDIR"
fi
# Delete old dev bundle and rename the new one on top of it.