summaryrefslogtreecommitdiff
path: root/cpp/makedist.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-xcpp/makedist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/makedist.py b/cpp/makedist.py
index 05ead454167..13ab3f0c69c 100755
--- a/cpp/makedist.py
+++ b/cpp/makedist.py
@@ -238,7 +238,6 @@ print "Removing unnecessary files..."
filesToRemove = [ \
os.path.join("ice", "makedist.py"), \
os.path.join("ice", "makebindist.py"), \
- os.path.join("ice", "newmakebindist.py"), \
os.path.join("ice", "iceemakedist.py"), \
os.path.join("ice", "RPMTools.py"), \
os.path.join("ice", "fixCopyright.py"), \
@@ -252,7 +251,8 @@ filesToRemove = [ \
]
filesToRemove.extend(find("ice", ".dummy"))
for x in filesToRemove:
- os.remove(x)
+ if os.path.exists(x):
+ os.remove(x)
shutil.rmtree(os.path.join("ice", "certs", "openssl"))
shutil.rmtree(os.path.join("ice", "install"))