Skip to content

Commit 6c3daf7

Browse files
authored
Merge pull request #1366 from swiftwasm/maxd/fix-5.3-ubuntu-download
Fix DOWNLOAD_URL in 5.3 install-nightly-toolchain.sh
2 parents ffdb85e + db2c7b4 commit 6c3daf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/webassembly/install-nightly-toolchain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ install_linux() {
1515
export $(/usr/bin/curl ${BASE_URL}/ubuntu1804/latest-build.yml | grep 'download:' | sed 's/:[^:\/\/]/=/g')
1616

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

2121
mkdir -p ${WORKSPACE}/latest_toolchain
2222
tar xzf ${WORKSPACE}/latest_toolchain.tar.gz -C ${WORKSPACE}/latest_toolchain

0 commit comments

Comments
 (0)