fix(bash): bash errors on windows (#5406)

This commit is contained in:
Yehonal
2021-04-23 14:35:41 +02:00
committed by GitHub
parent c95d1f72a8
commit 970d371442
4 changed files with 10 additions and 3 deletions

View File

@@ -14,7 +14,8 @@ function denoInstall() {
}
function denoCmd() {
(cd "$AC_PATH_ROOT" ; ./deps/deno/bin/deno "$@")
[[ "$OSTYPE" = "msys" ]] && DENOEXEC="./deps/deno/bin/deno.exe" || DENOEXEC="./deps/deno/bin/deno"
(cd "$AC_PATH_ROOT" ; $DENOEXEC "$@")
}
function denoRunFile() {