diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-11-09 18:42:47 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-11-09 18:42:47 +0000 |
commit | 898d44de3e48a3babfba5c906662a6bbf1e70273 (patch) | |
tree | c91ff3e0b83068586d1c8830a65253ada05eddb3 /php/makedist.py | |
parent | Reorganizing source code. Changing build process to use Makefiles instead (diff) | |
download | ice-898d44de3e48a3babfba5c906662a6bbf1e70273.tar.bz2 ice-898d44de3e48a3babfba5c906662a6bbf1e70273.tar.xz ice-898d44de3e48a3babfba5c906662a6bbf1e70273.zip |
minor fixes
Diffstat (limited to 'php/makedist.py')
-rwxr-xr-x | php/makedist.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/php/makedist.py b/php/makedist.py index dfd273a89fd..acf6dd8d7e6 100755 --- a/php/makedist.py +++ b/php/makedist.py @@ -82,7 +82,7 @@ os.chdir(distdir) # # Export sources from CVS. # -os.system("cvs -d cvs.zeroc.com:/home/cvsroot export " + tag + " icephp") +os.system("cvs -d cvs.zeroc.com:/home/cvsroot export " + tag + " icephp ice/include/IceUtil/Config.h") # # Remove files. @@ -95,10 +95,10 @@ for x in filesToRemove: os.remove(x) # -# Get IcePHP version. +# Get Ice version. # -config = open(os.path.join("icephp", "src", "ice", "php_ice.h"), "r") -version = re.search("ICEPHP_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) +config = open(os.path.join("ice", "include", "IceUtil", "Config.h"), "r") +version = re.search("ICE_STRING_VERSION \"([0-9\.]*)\"", config.read()).group(1) print "Fixing version in README and INSTALL files..." fixVersion(find("icephp", "README*"), version) @@ -127,3 +127,4 @@ shutil.copyfile(os.path.join(icephpver, "CHANGES"), "IcePHP-" + version + "-CHAN # Done. # shutil.rmtree(icephpver) +shutil.rmtree("ice") |