From bb2554abcd91ce05452a9136ede2dc57a12ca90b Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Wed, 23 Aug 2017 11:28:19 -0700 Subject: [PATCH] Fix the continue-at flag in the curl command used to download the Dart SDK (#11757) Fixes https://github.com/flutter/flutter/issues/11722 --- 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 5c8614ece0..e67b97c061 100755 --- a/bin/internal/update_dart_sdk.sh +++ b/bin/internal/update_dart_sdk.sh @@ -60,7 +60,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 -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."