summaryrefslogtreecommitdiff
path: root/cpp/makebindist.py
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2005-11-11 22:41:10 +0000
committerBrent Eagles <brent@zeroc.com>2005-11-11 22:41:10 +0000
commit26aa5afddea186953f4e40388071febe50ced8bd (patch)
treea515b39074f072f30a20dfbedcc23ad5e7ed098b /cpp/makebindist.py
parentfixes (diff)
downloadice-26aa5afddea186953f4e40388071febe50ced8bd.tar.bz2
ice-26aa5afddea186953f4e40388071febe50ced8bd.tar.xz
ice-26aa5afddea186953f4e40388071febe50ced8bd.zip
f64 specific fix
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-xcpp/makebindist.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py
index 6b2a5c06d72..7a9cb484945 100755
--- a/cpp/makebindist.py
+++ b/cpp/makebindist.py
@@ -1083,9 +1083,14 @@ def main():
# The demo archive isn't constructed on 64 bit linux so we
# need to rely on the archive being in the sources
# directory.
+ #
+ # XXX shutil.copy() has a bug that causes the second copy to
+ # fail... maybe it forgot to close the file in the first
+ # copy? I've changed these to using the external copy for
+ # the time being.
#
- shutil.copy(sources + '/Ice-' + version + '-demos.tar.gz', '/usr/src/redhat/SOURCES')
- shutil.copy(sources + '/Ice-' + version + '-demos.tar.gz ', installDir)
+ runprog('cp ' + sources + '/Ice-' + version + '-demos.tar.gz /usr/src/redhat/SOURCES')
+ runprog('cp ' + sources + '/Ice-' + version + '-demos.tar.gz ' + installDir)
iceArchives = glob.glob(sources + '/Ice*' + version + '.gz')
for f in iceArchives:
shutil.copy(f, 'usr/src/redhat/SOURCES')