From 25810a960d2b85e1bdfd0820a2961b057c332a09 Mon Sep 17 00:00:00 2001 From: vinnichase Date: Mon, 29 Jan 2024 21:55:33 -0800 Subject: [PATCH] create symlink on every execution Symlink is not created on first setup. --- scripts/download-zig.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/download-zig.sh b/scripts/download-zig.sh index cec996d47d7005..19860243a40e43 100755 --- a/scripts/download-zig.sh +++ b/scripts/download-zig.sh @@ -59,13 +59,11 @@ update_repo_if_needed() { done printf "Zig was updated to ${zig_version}. Please commit new files." - - # symlink extracted zig to extracted zig.exe - # TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164 - ln -sf "${extract_at}/zig" "${extract_at}/zig.exe" - chmod +x "${extract_at}/zig.exe" - fi + # symlink extracted zig to extracted zig.exe + # TODO: Workaround for https://github.com/ziglang/vscode-zig/issues/164 + ln -sf "${extract_at}/zig" "${extract_at}/zig.exe" + chmod +x "${extract_at}/zig.exe" } if [ -e "${extract_at}/.version" ]; then