Skip to content
This repository was archived by the owner on Dec 6, 2017. It is now read-only.

Commit 435f05c

Browse files
committed
chore(travis): curl should follow links to download Dart
1 parent 73b03f5 commit 435f05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/travis/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CHANNEL=`echo $JOB | cut -f 2 -d -`
1515
echo Fetch Dart channel: $CHANNEL
1616

1717
echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest/sdk/$DART_SDK_ZIP
18-
curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest/sdk/$DART_SDK_ZIP > $DART_SDK_ZIP
18+
curl -L http://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest/sdk/$DART_SDK_ZIP > $DART_SDK_ZIP
1919
echo Fetched new dart version $(unzip -p $DART_SDK_ZIP dart-sdk/version)
2020
rm -rf dart-sdk
2121
unzip $DART_SDK_ZIP > /dev/null

0 commit comments

Comments
 (0)