summaryrefslogtreecommitdiff
path: root/maintainer-scripts/gcc_release
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-08 16:27:14 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-08 16:27:14 +0000
commit0b8cc04d21289740ab70cb972c4fe1c0a0e41bbf (patch)
tree2a0b550a1964627b0f53e3f4b809c7837a8cf0b8 /maintainer-scripts/gcc_release
parent14c4a04cc436d0f72b181c01afe299152558eb4d (diff)
downloadgcc-0b8cc04d21289740ab70cb972c4fe1c0a0e41bbf.tar.gz
* gcc_release: Correct logic for updating version.c. Put
prereleases into a subdirectory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70252 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/gcc_release')
-rwxr-xr-xmaintainer-scripts/gcc_release4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 2966b6e431f..87d3d9c604f 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