diff --git a/dist-build/wasm32-wasi.sh b/dist-build/wasm32-wasi.sh index 2dd6d1dc..c6ae3ac7 100755 --- a/dist-build/wasm32-wasi.sh +++ b/dist-build/wasm32-wasi.sh @@ -7,10 +7,10 @@ if [ -z "$WASI_LIBC" ]; then break fi done - if [ -z "$WASI_LIBC" ]; then - echo "Set WASI_LIBC to the path to the WASI libc sysroot" >&2 - exit 1 - fi +fi +if [ -z "$WASI_LIBC" ]; then + echo "Set WASI_LIBC to the path to the WASI libc sysroot" >&2 + exit 1 fi export PATH="/usr/local/opt/llvm/bin:$PATH"