aboutsummaryrefslogtreecommitdiffstats
path: root/Argcfile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Argcfile.sh')
-rw-r--r--Argcfile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Argcfile.sh b/Argcfile.sh
index f1496ed..a9f2fb7 100644
--- a/Argcfile.sh
+++ b/Argcfile.sh
@@ -205,9 +205,9 @@ _build_win_shim() {
lang="$1"
cmd="$(_lang_to_cmd "$lang")"
if [[ "$lang" == "sh" ]]; then
- run="\"$(cygpath -w "$(which $cmd)")\" --noprofile --norc"
+ run="\"$(argc --argc-shell-path)\" --noprofile --norc"
else
- run="\"$(cygpath -w "$(which $cmd)")\""
+ run="\"$(_normalize_path "$(which $cmd)")\""
fi
cat <<-EOF
@echo off