OSDN Git Service

* gcc_release (announce_snapshot): Restructure processing
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Sep 2003 14:29:20 +0000 (14:29 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Sep 2003 14:29:20 +0000 (14:29 +0000)
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

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 45cba3e..0775824 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-22  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * 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  <gerald@pfeifer.com>
 
        * gcc_release (build_sources): Create/update the LAST_UPDATED file
index 6a5fd86..f949465 100755 (executable)
@@ -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}