diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-08-08 16:27:14 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-08-08 16:27:14 +0000 |
commit | 7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32 (patch) | |
tree | 2a0b550a1964627b0f53e3f4b809c7837a8cf0b8 /maintainer-scripts | |
parent | fcbe85cdfe2b7f3a674e7f2d4e76e63f52e80241 (diff) | |
download | gcc-7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32.zip gcc-7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32.tar.gz gcc-7daaf8fa80c9dd9f4dc650ecd4fec7c69cf63e32.tar.bz2 |
gcc_release: Correct logic for updating version.c.
* gcc_release: Correct logic for updating version.c. Put
prereleases into a subdirectory.
From-SVN: r70252
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 4d1ddfc..b90c002 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2003-08-08 Mark Mitchell <mark@codesourcery.com> + + * gcc_release: Correct logic for updating version.c. Put + prereleases into a subdirectory. + 2003-07-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * crontab: Update invocation of gcc_release according to the diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 2966b6e..87d3d9c 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -144,7 +144,7 @@ EOF for x in gcc/version.c; do y=`basename ${x}` (changedir `dirname ${SOURCE_DIRECTORY}/${x}` && \ - sed -e 's|= \".*\"|= \"'${RELEASE}'\"|g' < ${y} > ${y}.new && \ + sed -e 's|version_string\[\] = \".*\"|version_string\[\] = \"'${RELEASE}'\"|g' < ${y} > ${y}.new && \ mv ${y}.new ${y} && \ ${CVS} ci -m 'Update version' ${y}) || \ error "Could not update ${x}" @@ -583,7 +583,7 @@ if [ $SNAPSHOT -eq 0 ]; then # If this is not a final release, set various parameters acordingly. if [ ${FINAL} -ne 1 ]; then RELEASE="${RELEASE}-${DATE}" - FTP_PATH="${FTP_PATH}/snapshots/" + FTP_PATH="${FTP_PATH}/prerelease-${RELEASE}/" else FTP_PATH="${FTP_PATH}/releases/gcc-${RELEASE}/" fi |