]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc_release: Move handling of complex modes directly after
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2003 09:54:24 +0000 (09:54 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jul 2003 09:54:24 +0000 (09:54 +0000)
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

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 79c0170cea1af7cbd90b9b4d8ac185cfe612d487..19a51122f49d1c000eed276b1f93463ad79e8134 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * gcc_release: Move handling of complex modes directly after
+       switch handling.
+       (TAG): Include the branch name as part of snapshot CVS tags.
+
 2003-07-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * gcc_release: Execute gcc.gnu.org-only operations which are
index 558cd79622547c0a2f29734f890d22c32459ec80..1dd3c9ff336db8ed680529dafcfd65afbf8871e2 100755 (executable)
@@ -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