Update update_dart_sdk.sh
in china , appspot is blocked, but storage.googleapis.com can visited
This commit is contained in:
parent
e41592d982
commit
904609024a
2
bin/cache/update_dart_sdk.sh
vendored
2
bin/cache/update_dart_sdk.sh
vendored
@ -27,7 +27,7 @@ if [ ! -f "$DART_SDK_STAMP_PATH" ] || [ "$DART_SDK_VERSION" != `cat "$DART_SDK_S
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
DART_SDK_URL="http://gsdview.appspot.com/dart-archive/channels/stable/raw/$DART_SDK_VERSION/sdk/$DART_ZIP_NAME"
|
DART_SDK_URL="http://storage.googleapis.com/dart-archive/channels/stable/raw/$DART_SDK_VERSION/sdk/$DART_ZIP_NAME"
|
||||||
|
|
||||||
rm -rf -- "$DART_SDK_PATH"
|
rm -rf -- "$DART_SDK_PATH"
|
||||||
mkdir -p -- "$DART_SDK_PATH"
|
mkdir -p -- "$DART_SDK_PATH"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user