summaryrefslogtreecommitdiff
path: root/cpp/newmakebindist.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-02-21 19:37:07 +0000
committerBrent Eagles <brent@zeroc.com>2005-02-21 19:37:07 +0000
commit9f135a026c8656973ded1dc02e7ca4987c208e36 (patch)
treeff73f762fbf227f7a6a91a24cc0e4f2073916d8c /cpp/newmakebindist.py
parentspecial host name for ibm no longer required (diff)
downloadice-9f135a026c8656973ded1dc02e7ca4987c208e36.tar.bz2
ice-9f135a026c8656973ded1dc02e7ca4987c208e36.tar.xz
ice-9f135a026c8656973ded1dc02e7ca4987c208e36.zip
reduce code duplication in getVersion()
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-xcpp/newmakebindist.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py
index ea0c6d34d4d..d8d7a982a93 100755
--- a/cpp/newmakebindist.py
+++ b/cpp/newmakebindist.py
@@ -350,9 +350,7 @@ def getVersion(cvsTag, buildDir):
os.chdir(buildDir)
if getPlatform() == "aix":
os.environ["LIBPATH"] = ""
- os.system("cvs -d cvs.mutablerealms.com:/home/cvsroot export -r " + cvsTag + " ice/include/IceUtil/Config.h")
- else:
- os.system("cvs -d cvs.mutablerealms.com:/home/cvsroot export -r " + cvsTag + " ice/include/IceUtil/Config.h")
+ os.system("cvs -d cvs.mutablerealms.com:/home/cvsroot export -r " + cvsTag + " ice/include/IceUtil/Config.h")
result = [ getIceVersion("ice/include/IceUtil/Config.h"), getIceSoVersion("ice/include/IceUtil/Config.h")]
os.remove("ice/include/IceUtil/Config.h")