diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-07 17:50:31 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-07 17:50:31 +0000 |
commit | 25bea92c4259530c0b41df3aef0c36258ff32f13 (patch) | |
tree | decc58aaf245f866f7c5ec0b92240c44422ba4ea /maintainer-scripts/gcc_release | |
parent | 7981b75caea40b40eba38024131c3d6ca0b046fc (diff) | |
download | gcc-25bea92c4259530c0b41df3aef0c36258ff32f13.tar.gz |
* gcc_release (build_sources): Do not use "-r" and "-D" at the
same time with "cvs export".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80480 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/gcc_release')
-rwxr-xr-x | maintainer-scripts/gcc_release | 6 |
1 files changed, 4 insertions, 2 deletions
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. |