Fix http://b/issue?id=5030894 ('Not working on windows: python gyp_skia')

git-svn-id: http://skia.googlecode.com/svn/trunk@1864 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2011-07-14 18:55:12 +00:00
parent 2d75cc0c16
commit 7fd589cfef

View File

@ -63,7 +63,7 @@ if __name__ == '__main__':
# finickyness about the current working directory.
# See http://b.corp.google.com/issue?id=5019517 ('Linux make build
# (from out dir) no longer runs skia_gyp correctly')
os.chdir(script_dir)
os.chdir(os.path.abspath(script_dir))
# This could give false positives since it doesn't actually do real option
# parsing. Oh well.