mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
fix(bash): bash errors on windows (#5406)
This commit is contained in:
@@ -14,6 +14,11 @@ else
|
||||
AC_PATH_ROOT=$(readlink -f "$AC_PATH_APPS/../")
|
||||
fi
|
||||
|
||||
case $AC_PATH_ROOT in
|
||||
/*) AC_PATH_ROOT=$AC_PATH_ROOT;;
|
||||
*) AC_PATH_ROOT=$PWD/$AC_PATH_ROOT;;
|
||||
esac
|
||||
|
||||
AC_PATH_CONF="$AC_PATH_ROOT/conf"
|
||||
|
||||
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user