Commits

Axel H.  committed 842a57b

Allow Win32 and Unix paths for MSYS_HOME variable

  • Participants
  • Parent commits c8db297

Comments (0)

Files changed (1)

File virtualenvwrapper/user_scripts.py

     if os.path.exists(script_path):
         cmd = [script_path] + list(args)
         if msys:
-            cmd = [os.path.join(os.environ['MSYS_HOME'],'bin','sh.exe')] + cmd
+            cmd = [get_path(os.environ['MSYS_HOME'],'bin','sh.exe')] + cmd
         log.debug('running %s', str(cmd))
         try:
             return_code = subprocess.call(cmd)