Skip to content

Fix DOWNLOAD_URL in 5.3 install-nightly-toolchain.sh #1366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils/webassembly/install-nightly-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ install_linux() {
export $(/usr/bin/curl ${BASE_URL}/ubuntu1804/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g')

DOWNLOAD_DIR=$(echo $download | sed "s/-ubuntu18.04.tar.gz//g")
DOWNLOAD_URL=${BASE_URL}/${DOWNLOAD_DIR}/${download}
/usr/bin/curl ${BASE_URL}/${DOWNLOAD_DIR}/${download} > ${WORKSPACE}/latest_toolchain.tar.gz
DOWNLOAD_URL=${BASE_URL}/ubuntu1804/${DOWNLOAD_DIR}/${download}
/usr/bin/curl $DOWNLOAD_URL > ${WORKSPACE}/latest_toolchain.tar.gz

mkdir -p ${WORKSPACE}/latest_toolchain
tar xzf ${WORKSPACE}/latest_toolchain.tar.gz -C ${WORKSPACE}/latest_toolchain
Expand Down