summaryrefslogtreecommitdiff
path: root/cpp/newmakebindist.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-03-09 16:30:01 +0000
committerBrent Eagles <brent@zeroc.com>2005-03-09 16:30:01 +0000
commitbc45f2df9c583660ae6aa3309469dad1b52e591f (patch)
tree4b628285db831d609c22c4a659ce052e259ed1b7 /cpp/newmakebindist.py
parentfixing files that weren't closed, preventing their removal (diff)
downloadice-bc45f2df9c583660ae6aa3309469dad1b52e591f.tar.bz2
ice-bc45f2df9c583660ae6aa3309469dad1b52e591f.tar.xz
ice-bc45f2df9c583660ae6aa3309469dad1b52e591f.zip
file closure in bad location
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-xcpp/newmakebindist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py
index 76ae9722d29..f3c567fd155 100755
--- a/cpp/newmakebindist.py
+++ b/cpp/newmakebindist.py
@@ -228,7 +228,6 @@ endif
if line.startswith('prefix'):
state = 'done'
- fileinput.close()
# Dependency files are all going to be bogus. The makedepend
# script doesn't seem to work properly for the slice files.
os.chdir("..")
@@ -243,6 +242,7 @@ endif
fileinput.close()
os.chdir(tcwd)
+ fileinput.close()
shutil.rmtree(buildDir + "/demotree/" + distro, True)
os.chdir(cwd)