diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 14:29:20 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 14:29:20 +0000 |
commit | 56586c5f2568eee3624e56485bc2c704b5e42da5 (patch) | |
tree | 25171a178607fd028899dcdab098a1fb552b6276 /maintainer-scripts/gcc_release | |
parent | 450177e0156131c4865e7edb8c9f3883032aa5f9 (diff) | |
download | gcc-56586c5f2568eee3624e56485bc2c704b5e42da5.tar.gz |
* gcc_release (announce_snapshot): Restructure processing
of snapshot-README and snapshot-index.html and add a new
substitution for @EXPORT@.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71652 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/gcc_release')
-rwxr-xr-x | maintainer-scripts/gcc_release | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 6a5fd86d7dd..f9494657cda 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -397,16 +397,20 @@ 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" \ + -e "s%@TEXT_DATE@%$TEXT_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 > $$ + -e "s%@EXPORT@%${EXPORTTAG} ${EXPORTDATE}%g" \ + ~/scripts/snapshot-README > $$ mv $$ ${RELEASE}/README sed -e "s%@DATE@%$DATE%g" \ - -e "s%@LAST_DATE@%$LAST_DATE%g" \ + -e "s%@TEXT_DATE@%$TEXT_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 > $$ + -e "s%@EXPORT@%${EXPORTTAG} ${EXPORTDATE}%g" \ + ~/scripts/snapshot-index.html > $$ mv $$ ${RELEASE}/index.html touch LATEST-IS-${BRANCH}-${DATE} |