From ef7509d85a29932ca68e86bf833d77b5d21649e6 Mon Sep 17 00:00:00 2001 From: vinnichase Date: Tue, 30 Jan 2024 18:41:18 +0100 Subject: [PATCH] dx: create symlink on every execution (#8568) 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