[Commits] (morgen) A fix to get a DOS-style cwd path even in cygwin

commits at osafoundation.org commits at osafoundation.org
Wed Apr 14 17:01:59 PDT 2004


Commit by: morgen
Modified files:
internal/wx/wxPython-2.5/__hardhat__.py 1.10 1.11

Log message:
A fix to get a DOS-style cwd path even in cygwin


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wx/wxPython-2.5/__hardhat__.py.diff?r1=text&tr1=1.10&r2=text&tr2=1.11

Index: internal/wx/wxPython-2.5/__hardhat__.py
diff -u internal/wx/wxPython-2.5/__hardhat__.py:1.10 internal/wx/wxPython-2.5/__hardhat__.py:1.11
--- internal/wx/wxPython-2.5/__hardhat__.py:1.10	Wed Apr 14 16:23:29 2004
+++ internal/wx/wxPython-2.5/__hardhat__.py	Wed Apr 14 17:01:29 2004
@@ -157,7 +157,7 @@
          "Building %s %s" % (info['name'], version),
          0, "output.txt")
 
-        os.putenv('WXWIN', os.getcwd())
+        os.putenv('WXWIN', buildenv['root_dos'] + "\\..\\..\\internal\\wx\\wxPython-2.5")
 
         if version == 'release':
             destination = os.path.join (buildenv['pythonlibdir'], 'site-packages', 'wx')



More information about the Commits mailing list