Browse Source

Fixed build.py not closing temp file.

This was breaking it on Windows.
alteredq 13 years ago
parent
commit
fc73cdc24a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/build.py

+ 1 - 0
utils/build.py

@@ -59,6 +59,7 @@ def main(argv=None):
     f.write(("// %s - http://github.com/mrdoob/three.js\n" % os.path.basename(output)) + text)
     f.write(("// %s - http://github.com/mrdoob/three.js\n" % os.path.basename(output)) + text)
     f.close()
     f.close()
 
 
+  os.close(file)
   os.unlink(path)
   os.unlink(path)