OSDN Git Service

* gcc_release: Execute gcc.gnu.org-only operations which are
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 17:25:31 +0000 (17:25 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jul 2003 17:25:31 +0000 (17:25 +0000)
related to diff generation only if diffs have been requested.
(build_sources): Improve tracing and an error message related
to tagging.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68924 138bc75d-0d04-0410-961f-82ee72b054a4

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 30253f6..79c0170 100644 (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...
index 41fbfa9..558cd79 100755 (executable)
@@ -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}