diff options
author | Brent Eagles <brent@zeroc.com> | 2005-09-28 13:15:43 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-09-28 13:15:43 +0000 |
commit | 46e8530034cb291d8d763c7c2b875fd6444ab2d2 (patch) | |
tree | 8cccf51b96c4c55b214fff9c220aa518080fda88 /cpp/makedist.py | |
parent | Fixed version number of IceStorm service (diff) | |
download | ice-46e8530034cb291d8d763c7c2b875fd6444ab2d2.tar.bz2 ice-46e8530034cb291d8d763c7c2b875fd6444ab2d2.tar.xz ice-46e8530034cb291d8d763c7c2b875fd6444ab2d2.zip |
don't choke on missing files
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-x | cpp/makedist.py | 4 |
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")) |