OSDN Git Service

* gcc_release: Command "all" now creates .gz files only for
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jun 2003 00:18:50 +0000 (00:18 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jun 2003 00:18:50 +0000 (00:18 +0000)
releases and pre-releases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68620 138bc75d-0d04-0410-961f-82ee72b054a4

maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release

index 054c8a8..da518ab 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-28  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * gcc_release: Command "all" now creates .gz files only for
+       releases and pre-releases.
+
 2003-06-27  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * gcc_release (build_sources): Do not include gnats.html any longer.
index 5e29309..5e0b361 100755 (executable)
@@ -611,7 +611,12 @@ while [ $# -ne 0 ]; do
     sources)  MODE_SOURCES=1;;
     tarfiles) MODE_TARFILES=1;;
     upload)   MODE_UPLOAD=1;;
-    all)      MODE_SOURCES=1; MODE_TARFILES=1; MODE_DIFFS=1; MODE_GZIP=1; 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