Closed
Bug 777798
Opened 14 years ago
Closed 9 years ago
Pymake causes MSYS pwd to start returning Windows paths
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: rain1, Unassigned)
Details
For whatever reason, MSYS converts the Unix PWD environment variable to Windows PWD but not the other way around, at least in some cases. This causes pwd to start returning Windows paths.
/bin $ python
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ["PWD"]
'C:/Users/Sid/mozilla-build/msys/bin'
>>> os.system("sh -c 'pwd'")
C:/Users/Sid/mozilla-build/msys/bin
0
Comment 1•14 years ago
|
||
Is this a bad thing? Msys programs typically can function with windows-style paths (as long as they use forward slashes), so I don't think this is a bug.
| Reporter | ||
Comment 2•14 years ago
|
||
I hit this when I was unable to reproduce bug 770558 locally because my `pwd` was a Windows-style path, which meant pymake didn't try to run it through the shell.
Comment 3•9 years ago
|
||
Mass close of pymake-related bugs.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•