From f120a34c8e1890fb796862c63364fa21171b89cb Mon Sep 17 00:00:00 2001 From: Kelley Cook Date: Sat, 14 Aug 2004 16:47:52 +0000 Subject: gcc_release (build_sources): Add comment header to generated MD5SUMS. 2004-08-14 Kelley Cook * gcc_release (build_sources): Add comment header to generated MD5SUMS. From-SVN: r86000 --- maintainer-scripts/gcc_release | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'maintainer-scripts/gcc_release') diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 036c8bf..89eec35 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -251,7 +251,22 @@ EOF [ -f libcpp/po/cpplib.pot ] && mv ../objdir/libcpp/po/*.gmo libcpp/po/ # 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 + echo \ +"# This file contains the MD5 checksums of the files in the +# gcc-"${RELEASE}".tar.bz2 tarball. +# +# Besides verifying that all files in the tarball were correctly expanded, +# it also can be used to determine if any files have changed since the +# tarball was expanded or to verify that a patchfile was correctly applied. +# +# Suggested usage: +# md5sum -c MD5SUMS | grep -v \"OK$\" +" > MD5SUMS + + 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 -- cgit v1.1