gcc_release: Execute gcc.gnu.org-only operations which are related to diff generation only if...

* gcc_release: Execute gcc.gnu.org-only operations which are
	related to diff generation only if diffs have been requested.
	(build_sources): Improve tracing and an error message related
	to tagging.

From-SVN: r68924
This commit is contained in:
Gerald Pfeifer 2003-07-04 19:25:31 +02:00 committed by Gerald Pfeifer
parent ae81000a69
commit 6124d3bda0
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2003-07-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release: Execute gcc.gnu.org-only operations which are
related to diff generation only if diffs have been requested.
(build_sources): Improve tracing and an error message related
to tagging.
2003-07-01 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* gcc_release (BRANCH): Rename to...

View File

@ -158,9 +158,9 @@ EOF
# Tag the sources.
if [ -n "${TAG}" ]; then
inform "Tagging release sources"
inform "Tagging sources as ${TAG}"
${CVS} rtag -r ${CVSBRANCH} -F ${TAG} gcc || \
error "Could not tag release sources"
error "Could not tag sources"
CVSBRANCH=$TAG
fi
@ -571,7 +571,7 @@ else
# Building locally on gcc.gnu.org, we know what the last snapshot date
# was.
if [ $LOCAL -ne 0 ]; then
if [ $MODE_DIFFS -ne 0 ] && [ $LOCAL -ne 0 ]; then
LAST_DATE=`cat ~/.snapshot_date-${BRANCH}`
LAST_LONG_DATE=`date --date=$LAST_DATE +%Y-%m-%d`
LAST_DIR=~ftp/pub/gcc/snapshots/${LAST_LONG_DATE}