Skip to content

Commit a73ffca

Browse files
authored
Create separate WASI_SDK_URL var
1 parent 895a4be commit a73ffca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/webassembly/macos/install-dependencies.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ cd $SWIFT_PATH
1313

1414
cd $SOURCE_PATH
1515

16+
WASI_SDK_URL="https://github.com/swiftwasm/wasi-sdk/releases/download/0.2.0-swiftwasm/dist-macos-latest.tgz.zip"
17+
1618
[ ! -e dist-wasi-sdk.tgz.zip ] && \
17-
wget -O dist-wasi-sdk.tgz.zip "https://github.com/swiftwasm/wasi-sdk/releases/download/0.2.0-swiftwasm/dist-macos-latest.tgz.zip"
19+
wget -O dist-wasi-sdk.tgz.zip $WASI_SDK_URL
1820
unzip -u dist-wasi-sdk.tgz.zip -d .
1921
WASI_SDK_TAR_PATH=$(find . -type f -name "wasi-sdk-*")
2022
WASI_SDK_FULL_NAME=$(basename $WASI_SDK_TAR_PATH -macos.tar.gz)

0 commit comments

Comments
 (0)