diff options
Diffstat (limited to 'components/script/dom/bindings/codegen/GlobalGen.py')
-rw-r--r-- | components/script/dom/bindings/codegen/GlobalGen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/GlobalGen.py b/components/script/dom/bindings/codegen/GlobalGen.py index 537883fae57..4d564aab0ac 100644 --- a/components/script/dom/bindings/codegen/GlobalGen.py +++ b/components/script/dom/bindings/codegen/GlobalGen.py @@ -54,7 +54,8 @@ def main(): parserResults = parser.finish() # Write the parser results out to a pickle. - with open('ParserResults.pkl', 'wb') as resultsFile: + resultsPath = os.path.join(outputdir, 'ParserResults.pkl') + with open(resultsPath, 'wb') as resultsFile: cPickle.dump(parserResults, resultsFile, -1) # Load the configuration. |