diff options
author | Brent Eagles <brent@zeroc.com> | 2005-02-21 03:16:24 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-02-21 03:16:24 +0000 |
commit | fd317f9d3f2baea55eba3a5e9e439a511a2d5514 (patch) | |
tree | 2587753f1871c7a11ea5ae7f8034d2a632a280b1 /cpp/newmakebindist.py | |
parent | attempting to get hands off builds on non-linux platforms (diff) | |
download | ice-fd317f9d3f2baea55eba3a5e9e439a511a2d5514.tar.bz2 ice-fd317f9d3f2baea55eba3a5e9e439a511a2d5514.tar.xz ice-fd317f9d3f2baea55eba3a5e9e439a511a2d5514.zip |
hopefully fixing up some of the tar commands to be a bit more portable
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-x | cpp/newmakebindist.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py index fab49f56d96..987f3a0d03f 100755 --- a/cpp/newmakebindist.py +++ b/cpp/newmakebindist.py @@ -383,7 +383,7 @@ def extractDemos(buildDir, version, distro, demoDir): Ice""" cwd = os.getcwd() os.chdir(buildDir + "/demotree") - os.system("tar xvfz ../sources/" + distro + ".tar.gz " + distro + "/demo " + distro + "/config " \ + os.system("gzip -dc ../sources/" + distro + ".tar.gz | tar x " + distro + "/demo " + distro + "/config " \ + distro + "/certs") shutil.move(distro + "/demo", buildDir + "/Ice-" + version + "-demos/demo" + demoDir) @@ -524,7 +524,8 @@ endif os.system("sh -c 'for f in `find Ice-" + version + "-demos/democs -name \"*.sln\" ` ; do rm -rf $f ; done'") os.system("sh -c 'for f in `find Ice-" + version + "-demos/democs -name \"*.csproj\" ` ; do rm -rf $f ; done'") - os.system("tar cvfz Ice-" + version + "-demos.tar.gz Ice-" + version + "-demos") + os.system("tar cvf Ice-" + version + "-demos.tar Ice-" + version + "-demos") + os.system("gzip -9 cvf Ice-" + version + "-demos.tar") os.chdir(cwd) def makeInstall(buildDir, installDir, distro, clean): @@ -535,7 +536,7 @@ def makeInstall(buildDir, installDir, distro, clean): shutil.rmtree(distro, True) if not os.path.exists(distro): - os.system("tar xfvz sources/" + distro + ".tar.gz") + os.system("gzip -dc sources/" + distro + ".tar.gz | tar x") os.chdir(distro) |