Skip to content

Commit d7d260e

Browse files
authored
fix(compat): Use cygpath for MINGW (Git Bash) (#4409)
1 parent e81618d commit d7d260e

File tree

1 file changed

+1
-0
lines changed
  • scripts/dist-scripts

1 file changed

+1
-0
lines changed

scripts/dist-scripts/yarn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ case "$(uname -s)" in
77
Linux) basedir=$(dirname "$(readlink -f "$0" || echo "$argv0")");;
88
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
99
*MSYS*) basedir=`cygpath -w "$basedir"`;;
10+
*MINGW*) basedir=`cygpath -w "$basedir"`;;
1011
esac
1112

1213
command_exists() {

0 commit comments

Comments
 (0)