Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec3eeae

Browse files
committedAug 1, 2022
Make scripts executable
1 parent a5d2200 commit ec3eeae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎ci/build/npm-postinstall.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ symlink_bin_script() {
5454
dest="$3"
5555
ext="${4-}"
5656
case $OS in
57-
windows) symlink "$source.cmd" "$dest.cmd" ;;
57+
windows)
58+
ext=".cmd"
59+
symlink "$source.cmd" "$dest$ext"
60+
;;
5861
darwin | macos) symlink "$source-darwin.sh" "$dest$ext" ;;
5962
*) symlink "$source-linux.sh" "$dest$ext" ;;
6063
esac
64+
chmod +x "$dest$ext"
6165
cd "$oldpwd"
6266
}
6367

0 commit comments

Comments
 (0)
Please sign in to comment.