summaryrefslogtreecommitdiffstats
path: root/maintainer-scripts/gcc_release
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-08 09:54:24 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-08 09:54:24 +0000
commit03da418aa61d16ec8f9ac847640881826e9a9a73 (patch)
treeba719d783e4f2e31711520717853fdd4b8359f97 /maintainer-scripts/gcc_release
parente7f8b8569d7686bb8b203b0394ddd3ed8ca45c2a (diff)
downloadppe42-gcc-03da418aa61d16ec8f9ac847640881826e9a9a73.tar.gz
ppe42-gcc-03da418aa61d16ec8f9ac847640881826e9a9a73.zip
* gcc_release: Move handling of complex modes directly after
switch handling. (TAG): Include the branch name as part of snapshot CVS tags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts/gcc_release')
-rwxr-xr-xmaintainer-scripts/gcc_release40
1 files changed, 20 insertions, 20 deletions
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 558cd796225..1dd3c9ff336 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -520,6 +520,25 @@ while getopts "d:fr:u:t:p:sl" ARG; do
done
shift `expr ${OPTIND} - 1`
+# Handle the major modes.
+while [ $# -ne 0 ]; do
+ case $1 in
+ diffs) MODE_DIFFS=1;;
+ gzip) MODE_GZIP=1;;
+ sources) MODE_SOURCES=1;;
+ tarfiles) MODE_TARFILES=1;;
+ upload) MODE_UPLOAD=1;;
+ all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_UPLOAD=1;
+ if [ $SNAPSHOT -ne 1 ]; then
+ # Only for releases and pre-releases.
+ MODE_GZIP=1;
+ fi
+ ;;
+ *) error "Unknown mode $1";;
+ esac
+ shift
+done
+
# Perform consistency checking.
if [ ${LOCAL} -eq 0 ] && [ -z ${CVS_USERNAME} ]; then
error "No username specified"
@@ -567,7 +586,7 @@ else
BRANCH="3.3"
CVSBRANCH=gcc-3_3-branch
FTP_PATH="${FTP_PATH}/snapshots/${BRANCH}-${LONG_DATE}"
- TAG=gcc_ss_${DATE}
+ TAG=gcc-ss-`echo ${BRANCH} | tr '.' '_'`-${DATE}
# Building locally on gcc.gnu.org, we know what the last snapshot date
# was.
@@ -609,25 +628,6 @@ export CVSROOT
TZ="UTC0"
export TZ
-# Handle the major modes.
-while [ $# -ne 0 ]; do
- case $1 in
- diffs) MODE_DIFFS=1;;
- gzip) MODE_GZIP=1;;
- sources) MODE_SOURCES=1;;
- tarfiles) MODE_TARFILES=1;;
- upload) MODE_UPLOAD=1;;
- all) MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_UPLOAD=1;
- if [ $SNAPSHOT -ne 1 ]; then
- # Only for releases and pre-releases.
- MODE_GZIP=1;
- fi
- ;;
- *) error "Unknown mode $1";;
- esac
- shift
-done
-
# Build the source directory.
if [ $MODE_SOURCES -ne 0 ]; then
OpenPOWER on IntegriCloud