aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authormmitchel <>2004-04-07 16:50:31 +0000
committermmitchel <>2004-04-07 16:50:31 +0000
commitbdce25446c7e4d16dcb1c07de82e0cc93afae8d1 (patch)
treedecc58aaf245f866f7c5ec0b92240c44422ba4ea /maintainer-scripts
parenta2f1e5f2e4195b7e16616ffa030c1b25e17d2cb3 (diff)
* gcc_release (build_sources): Do not use "-r" and "-D" at the
same time with "cvs export".
Diffstat (limited to 'maintainer-scripts')
-rw-r--r--maintainer-scripts/ChangeLog5
-rwxr-xr-xmaintainer-scripts/gcc_release6
2 files changed, 9 insertions, 2 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index 13bd6edf416..7b4f157029c 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-07 Mark Mitchell <mark@codesourcery.com>
+
+ * gcc_release (build_sources): Do not use "-r" and "-D" at the
+ same time with "cvs export".
+
2004-03-27 Gerald Pfeifer <gerald@pfeifer.com>
* gcc_release: Fix sanity check for argument of -p command-line
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index c21c1b94de1..3ac73da469f 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -157,20 +157,22 @@ EOF
fi
# Tag the sources.
+ EXPORTDATE=""
if [ -n "${TAG}" ]; then
inform "Tagging sources as ${TAG}"
${CVS} rtag -r ${CVSBRANCH} -F ${TAG} gcc || \
error "Could not tag sources"
EXPORTTAG="-r${TAG}"
- EXPORTDATE=""
else
if [ ${CVSBRANCH} != "HEAD" ]; then
EXPORTTAG="-r${CVSBRANCH}"
+ # It does not work to use both "-r" and "-D" with
+ # "cvs export" so EXPORTDATE is not set here.
else
# HEAD is the default branch, no need to specify it.
EXPORTTAG=""
+ EXPORTDATE="-D`date -u +"%Y-%m-%d %H:%M"` UTC"
fi
- EXPORTDATE="-D`date -u +"%Y-%m-%d %H:%M"` UTC"
fi
# Export the current sources.