mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Redirect curl's stderr to stdout, since it draws its progress bar to stderr (#9497)
This commit is contained in:
parent
03d684be6d
commit
ca2bf1efd0
@ -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"
|
||||
curl --progress-bar -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."
|
||||
|
Loading…
Reference in New Issue
Block a user