We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed37567 commit 00705fdCopy full SHA for 00705fd
ci/build/build-vscode.sh
@@ -27,6 +27,8 @@ copy-bin-script() {
27
# Fix Node path on Windows.
28
sed -i.bak 's/^set ROOT_DIR=\(.*\)$/set ROOT_DIR=%~dp0..\\..\\..\\..\r\nset VSROOT_DIR=\1/g' "$dest"
29
sed -i.bak 's/%ROOT_DIR%\\out/%VSROOT_DIR%\\out/g' "$dest"
30
+
31
+ chmod +x "$dest"
32
}
33
34
main() {
ci/build/npm-postinstall.sh
@@ -54,14 +54,10 @@ symlink_bin_script() {
54
dest="$3"
55
ext="${4-}"
56
case $OS in
57
- windows)
58
- ext=".cmd"
59
- symlink "$source.cmd" "$dest$ext"
60
- ;;
+ windows) symlink "$source.cmd" "$dest.cmd" ;;
61
darwin | macos) symlink "$source-darwin.sh" "$dest$ext" ;;
62
*) symlink "$source-linux.sh" "$dest$ext" ;;
63
esac
64
- chmod +x "$dest$ext"
65
cd "$oldpwd"
66
67
0 commit comments