2012-11-05 21:18:20 +01:00
|
|
|
Index: pylib/gyp/input.py
|
|
|
|
===================================================================
|
2013-01-15 20:12:28 +01:00
|
|
|
--- pylib/gyp/input.py (revision 1556)
|
2012-11-05 21:18:20 +01:00
|
|
|
+++ pylib/gyp/input.py (working copy)
|
2013-01-15 20:12:28 +01:00
|
|
|
@@ -857,7 +857,8 @@
|
2012-05-31 17:19:33 +02:00
|
|
|
# that don't load quickly, this can be faster than
|
|
|
|
# <!(python modulename param eters). Do this in |build_file_dir|.
|
|
|
|
oldwd = os.getcwd() # Python doesn't like os.open('.'): no fchdir.
|
|
|
|
- os.chdir(build_file_dir)
|
|
|
|
+ if not build_file_dir is None:
|
|
|
|
+ os.chdir(build_file_dir)
|
2013-01-15 20:12:28 +01:00
|
|
|
try:
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2013-01-15 20:12:28 +01:00
|
|
|
parsed_contents = shlex.split(contents)
|