Skip to content

Commit 9948339

Browse files
committed
Allow Win32 and Unix paths for MSYS_HOME variable
1 parent 8a74267 commit 9948339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtualenvwrapper/user_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run_script(script_path, *args):
3232
if os.path.exists(script_path):
3333
cmd = [script_path] + list(args)
3434
if msys:
35-
cmd = [os.path.join(os.environ['MSYS_HOME'],'bin','sh.exe')] + cmd
35+
cmd = [get_path(os.environ['MSYS_HOME'],'bin','sh.exe')] + cmd
3636
log.debug('running %s', str(cmd))
3737
try:
3838
return_code = subprocess.call(cmd)

0 commit comments

Comments
 (0)