From d1174343b7b8f906dd2621b1c0000e317ab5d26a Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 22 Sep 2003 14:29:20 +0000 Subject: [PATCH] gcc_release (announce_snapshot): Restructure processing of snapshot-README and snapshot-index.html and add a new... * gcc_release (announce_snapshot): Restructure processing of snapshot-README and snapshot-index.html and add a new substitution for @EXPORT@. From-SVN: r71652 --- maintainer-scripts/ChangeLog | 6 ++++++ maintainer-scripts/gcc_release | 12 ++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 45cba3ea18d..077582422f1 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,9 @@ +2003-09-22 Gerald Pfeifer + + * gcc_release (announce_snapshot): Restructure processing + of snapshot-README and snapshot-index.html and add a new + substitution for @EXPORT@. + 2003-08-24 Gerald Pfeifer * gcc_release (build_sources): Create/update the LAST_UPDATED file 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}