2012-11-05 20:18:20 +00:00
|
|
|
Index: pylib/gyp/input.py
|
|
|
|
===================================================================
|
2013-02-27 17:56:03 +00:00
|
|
|
--- pylib/gyp/input.py (revision 1583)
|
2012-11-05 20:18:20 +00:00
|
|
|
+++ pylib/gyp/input.py (working copy)
|
2013-02-27 17:56:03 +00:00
|
|
|
@@ -843,7 +843,8 @@
|
2012-05-31 15:19:33 +00: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 19:12:28 +00:00
|
|
|
try:
|
2012-04-03 01:34:16 +00:00
|
|
|
|
2013-01-15 19:12:28 +00:00
|
|
|
parsed_contents = shlex.split(contents)
|