Commit d1174343 by Gerald Pfeifer Committed by Gerald Pfeifer

gcc_release (announce_snapshot): Restructure processing of snapshot-README and…

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
parent 88962108
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> 2003-08-24 Gerald Pfeifer <gerald@pfeifer.com>
* gcc_release (build_sources): Create/update the LAST_UPDATED file * gcc_release (build_sources): Create/update the LAST_UPDATED file
......
...@@ -397,16 +397,20 @@ announce_snapshot() { ...@@ -397,16 +397,20 @@ announce_snapshot() {
TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y` TEXT_DATE=`date --date=$DATE +%B\ %d,\ %Y`
cd ~ftp/pub/gcc/snapshots cd ~ftp/pub/gcc/snapshots
sed -e "s%@DATE@%$DATE%g" \ 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%@BRANCH@%${BRANCH}%g" \
-e "s%@RELEASE@%${RELEASE}%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 mv $$ ${RELEASE}/README
sed -e "s%@DATE@%$DATE%g" \ 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%@BRANCH@%${BRANCH}%g" \
-e "s%@RELEASE@%${RELEASE}%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 mv $$ ${RELEASE}/index.html
touch LATEST-IS-${BRANCH}-${DATE} touch LATEST-IS-${BRANCH}-${DATE}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment