Skip to content

Commit 028fc3b

Browse files
committed
Merged in gnawybol/virtualenvwrapper/support_MINGW64 (pull request #36)
Detect MSYS if MSYSTEM is MINGW64
2 parents 9961061 + 72cf819 commit 028fc3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

virtualenvwrapper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fi
6464

6565
# Define script folder depending on the platorm (Win32/Unix)
6666
VIRTUALENVWRAPPER_ENV_BIN_DIR="bin"
67-
if [ "$OS" = "Windows_NT" ] && [ "$MSYSTEM" = "MINGW32" ]
67+
if [ "$OS" = "Windows_NT" ] && ([ "$MSYSTEM" = "MINGW32" ] || [ "$MSYSTEM" = "MINGW64" ])
6868
then
6969
# Only assign this for msys, cygwin use standard Unix paths
7070
# and its own python installation

virtualenvwrapper/user_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Are we running under msys
1919
if sys.platform == 'win32' and \
2020
os.environ.get('OS') == 'Windows_NT' and \
21-
os.environ.get('MSYSTEM') == 'MINGW32':
21+
os.environ.get('MSYSTEM') in ('MINGW32', 'MINGW64'):
2222
is_msys = True
2323
script_folder = 'Scripts'
2424
else:

0 commit comments

Comments
 (0)