mirror of git://gcc.gnu.org/git/gcc.git
gcc_release (build_sources): Do not use "-r" and "-D" at the same time with "cvs export".
* gcc_release (build_sources): Do not use "-r" and "-D" at the same time with "cvs export". From-SVN: r80480
This commit is contained in:
parent
f332a090b2
commit
2e55bbc120
|
@ -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>
|
2004-03-27 Gerald Pfeifer <gerald@pfeifer.com>
|
||||||
|
|
||||||
* gcc_release: Fix sanity check for argument of -p command-line
|
* gcc_release: Fix sanity check for argument of -p command-line
|
||||||
|
|
|
@ -157,20 +157,22 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Tag the sources.
|
# Tag the sources.
|
||||||
|
EXPORTDATE=""
|
||||||
if [ -n "${TAG}" ]; then
|
if [ -n "${TAG}" ]; then
|
||||||
inform "Tagging sources as ${TAG}"
|
inform "Tagging sources as ${TAG}"
|
||||||
${CVS} rtag -r ${CVSBRANCH} -F ${TAG} gcc || \
|
${CVS} rtag -r ${CVSBRANCH} -F ${TAG} gcc || \
|
||||||
error "Could not tag sources"
|
error "Could not tag sources"
|
||||||
EXPORTTAG="-r${TAG}"
|
EXPORTTAG="-r${TAG}"
|
||||||
EXPORTDATE=""
|
|
||||||
else
|
else
|
||||||
if [ ${CVSBRANCH} != "HEAD" ]; then
|
if [ ${CVSBRANCH} != "HEAD" ]; then
|
||||||
EXPORTTAG="-r${CVSBRANCH}"
|
EXPORTTAG="-r${CVSBRANCH}"
|
||||||
|
# It does not work to use both "-r" and "-D" with
|
||||||
|
# "cvs export" so EXPORTDATE is not set here.
|
||||||
else
|
else
|
||||||
# HEAD is the default branch, no need to specify it.
|
# HEAD is the default branch, no need to specify it.
|
||||||
EXPORTTAG=""
|
EXPORTTAG=""
|
||||||
|
EXPORTDATE="-D`date -u +"%Y-%m-%d %H:%M"` UTC"
|
||||||
fi
|
fi
|
||||||
EXPORTDATE="-D`date -u +"%Y-%m-%d %H:%M"` UTC"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Export the current sources.
|
# Export the current sources.
|
||||||
|
|
Loading…
Reference in New Issue