Skip to content

Commit ddc602e

Browse files
committed
fixup! add python config sh
OSTYPE has changed in MSYS2, so check for both the old and the new value: msys2/MSYS2-packages@076c4a9
1 parent acdd1f2 commit ddc602e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Misc/python-config.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ installed_prefix ()
3030
# Since we don't know where the output from this script will end up
3131
# we keep all paths in Windows-land since MSYS2 can handle that
3232
# while native tools can't handle paths in MSYS2-land.
33-
if [ "$OSTYPE" = "msys" ]; then
33+
if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ] ; then
3434
RESULT=$(cd "$RESULT" && pwd -W)
3535
fi
3636
echo $RESULT

0 commit comments

Comments
 (0)