diff options
author | kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-14 16:47:52 +0000 |
---|---|---|
committer | kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-14 16:47:52 +0000 |
commit | 014a49616dd06c12b1a5992adb4563dcd6a0e1ef (patch) | |
tree | cdcf16c6e0d75c8e3a4e3973e23cd750fede5ec7 /maintainer-scripts | |
parent | e4b2c26c0346604331975a4c1d77cd29eef06c2c (diff) | |
download | gcc-014a49616dd06c12b1a5992adb4563dcd6a0e1ef.tar.gz |
2004-08-14 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Add comment header to generated
MD5SUMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86000 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 17 |
2 files changed, 21 insertions, 1 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index c17f93a17fc..8cf170e841a 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2004-08-14 Kelley Cook <kcook@gcc.gnu.org> + + * gcc_release (build_sources): Add comment header to generated + MD5SUMS. + 2004-08-06 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (snapshot_print): Accept arguments. Don't use echo -e. diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 036c8bf943a..89eec350ee9 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 |