summaryrefslogtreecommitdiff
path: root/php/makedist.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-05-19 00:01:03 +0000
committerMark Spruiell <mes@zeroc.com>2004-05-19 00:01:03 +0000
commitfb60e3a6df1cc8b5c3eec6655db98bd15c312f4a (patch)
treeec3b3eedda01a7e32ca14765e4adf543d0b39d55 /php/makedist.py
parentadding EXPAT_LIBS (diff)
downloadice-fb60e3a6df1cc8b5c3eec6655db98bd15c312f4a.tar.bz2
ice-fb60e3a6df1cc8b5c3eec6655db98bd15c312f4a.tar.xz
ice-fb60e3a6df1cc8b5c3eec6655db98bd15c312f4a.zip
portability fix
Diffstat (limited to 'php/makedist.py')
-rwxr-xr-xphp/makedist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/php/makedist.py b/php/makedist.py
index 74443c6d109..82e85a9ac29 100755
--- a/php/makedist.py
+++ b/php/makedist.py
@@ -95,7 +95,8 @@ version = re.search("ICEPHP_STRING_VERSION \"([0-9\.]*)\"", config.read()).group
#
icephpver = "IcePHP-" + version
os.rename("icephp", icephpver)
-os.system("tar cvzf " + icephpver + ".tar.gz " + icephpver)
+os.system("tar cvf " + icephpver + ".tar " + icephpver)
+os.system("gzip -9 " + icephpver + ".tar")
os.system("zip -9r " + icephpver + ".zip " + icephpver)
#