From 054c93791779198c02397ff225c14c25e4348f66 Mon Sep 17 00:00:00 2001 From: Brian Slesinsky Date: Sun, 23 Apr 2017 10:30:27 -0700 Subject: [PATCH] don't use curl progress bar since it looks bad in IDEA console window (#9538) Without this flag, it shows progress via increasing numbers instead of a progress bar. For some reason, the IDEA console seems to be okay with that. --- bin/internal/update_dart_sdk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/internal/update_dart_sdk.sh b/bin/internal/update_dart_sdk.sh index 74cc4664f4..cbff31ca74 100755 --- a/bin/internal/update_dart_sdk.sh +++ b/bin/internal/update_dart_sdk.sh @@ -49,7 +49,7 @@ if [ ! -f "$DART_SDK_STAMP_PATH" ] || [ "$DART_SDK_VERSION" != `cat "$DART_SDK_S mkdir -p -- "$DART_SDK_PATH" DART_SDK_ZIP="$FLUTTER_ROOT/bin/cache/dart-sdk.zip" - curl --progress-bar -continue-at=- --location --output "$DART_SDK_ZIP" "$DART_SDK_URL" 2>&1 + curl -continue-at=- --location --output "$DART_SDK_ZIP" "$DART_SDK_URL" 2>&1 unzip -o -q "$DART_SDK_ZIP" -d "$FLUTTER_ROOT/bin/cache" || { echo echo "It appears that the downloaded file is corrupt; please try the operation again later."