From 2f70118592b876b093e8c6baf72d57ae8e244a14 Mon Sep 17 00:00:00 2001
From: Kelley Cook <kcook@gcc.gnu.org>
Date: Mon, 17 May 2004 23:26:49 +0000
Subject: [PATCH] gcc_release (build_sources): Change CRCs from brik to md5sum.

[maintainer-scripts/]
2004-05-17  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Change CRCs from brik to md5sum.
[htdocs/]
2004-05-17  Kelley Cook  <kcook@gcc.gnu.org>

	* snapshots.html: Update docs for checking with md5sum.

From-SVN: r81958
---
 maintainer-scripts/ChangeLog   |  4 ++++
 maintainer-scripts/gcc_release | 10 ++--------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index db9218316cea..c1d97cc565d5 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-17  Kelley Cook  <kcook@gcc.gnu.org>
+
+	* gcc_release (build_sources): Change CRCs from brik to md5sum.
+
 2004-05-16  Gerald Pfeifer  <gerald@pfeifer.com>
 
 	* crontab: Add GCC 3.5 snapshots, currenty run on Sundays.
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index eda1adc077ad..49aac5a32f1f 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -249,14 +249,8 @@ EOF
   # Move message catalogs to source directory.
   mv ../objdir/gcc/po/*.gmo gcc/po/
 
-  # Create a `.brik' file to use for checking the validity of the
-  # release.
-  changedir "${SOURCE_DIRECTORY}"
-  BRIK_FILE=`mktemp /tmp/gcc_release.XXXXXXX`
-  ((find . -type f | sort > $BRIK_FILE) && \
-       brik -Gb -f ${BRIK_FILE} > .brik && \
-       rm ${BRIK_FILE}) || \
-     error "Could not compute brik checksum"
+  # Create a "MD5SUMS" file to use for checking the validity of the release.
+  find . -type f |sed -e 's:^\./::' -e '/MD5SUMS/d' |sort |xargs md5sum >MD5SUMS
 }
 
 # Buid a single tarfile.  The first argument is the name of the name
-- 
GitLab