diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-13 22:10:03 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-13 22:10:03 +0000 |
commit | 92d72679e99479336ff270fc3cd390031bfb3ce6 (patch) | |
tree | 0318865177d9ae5ac7fbb337e3c47696f4cb6170 /maintainer-scripts/gcc_release | |
parent | 450e6c84b8303706a13f092eb5af1f6e84cce9e9 (diff) | |
download | gcc-92d72679e99479336ff270fc3cd390031bfb3ce6.tar.gz |
* gcc_release (announce_snapshot): Add substitution of @RELEASE@
for README and index.html.
* snapshot-README: Use it.
* snapshot-index.html: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/gcc_release')
-rwxr-xr-x | maintainer-scripts/gcc_release | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index e9d3437ea40..479a19f8a9a 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -377,12 +377,16 @@ announce_snapshot() { TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y` cd ~ftp/pub/gcc/snapshots - sed -e "s%@DATE@%$DATE%g" -e "s%@LAST_DATE@%$LAST_DATE%g" \ + sed -e "s%@DATE@%$DATE%g" \ + -e "s%@LAST_DATE@%$LAST_DATE%g" \ -e "s%@BRANCH@%${BRANCH}%g" \ + -e "s%@RELEASE@%${RELEASE}%g" \ -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-README > $$ mv $$ README - sed -e "s%@DATE@%$DATE%g" -e "s%@LAST_DATE@%$LAST_DATE%g" \ + sed -e "s%@DATE@%$DATE%g" \ + -e "s%@LAST_DATE@%$LAST_DATE%g" \ -e "s%@BRANCH@%${BRANCH}%g" \ + -e "s%@RELEASE@%${RELEASE}%g" \ -e "s%@TEXT_DATE@%$TEXT_DATE%g" < ~/scripts/snapshot-index.html > $$ mv $$ ${BRANCH}-${DATE}/index.html |