Skip to content

Commit

Permalink
fix: incorrect bash path in generated .cmd files
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Jun 2, 2024
1 parent 80e3202 commit edb841a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Argcfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edb841a

Please sign in to comment.