diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-14 21:42:16 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-14 21:42:16 +0000 |
commit | 773ddbb1af26d7ddc760b7bc87463421e20789c7 (patch) | |
tree | 349916f9285f7dee7958b020892bbfc1f88ca7a8 /maintainer-scripts | |
parent | b9cbb3c98e8f926f00a21b75b70116bcc9d5c1a8 (diff) | |
download | gcc-773ddbb1af26d7ddc760b7bc87463421e20789c7.tar.gz |
* gcc_release (snapshot_print): Include md5 hash for every tarball
in the README file and notification mail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163251 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'maintainer-scripts')
-rw-r--r-- | maintainer-scripts/ChangeLog | 5 | ||||
-rwxr-xr-x | maintainer-scripts/gcc_release | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog index 89d8a6f5997..3a352faf2cf 100644 --- a/maintainer-scripts/ChangeLog +++ b/maintainer-scripts/ChangeLog @@ -1,3 +1,8 @@ +2010-08-14 Gerald Pfeifer <gerald@pfeifer.com> + + * gcc_release (snapshot_print): Include md5 hash for every tarball + in the README file and notification mail. + 2010-08-01 Gerald Pfeifer <gerald@pfeifer.com> * update_web_docs_libstdcxx_svn: Do not compress generated .html diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release index 6ff6b2a301b..7ef0e5b825e 100755 --- a/maintainer-scripts/gcc_release +++ b/maintainer-scripts/gcc_release @@ -386,7 +386,10 @@ upload_files() { # Print description if snapshot exists. snapshot_print() { if [ -e ${RELEASE}/$1 ]; then - printf "%-38s%s\n\n" "$1" "$2" >> ${SNAPSHOT_README} + hash=`openssl md5 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'` + + printf "%-38s%s\n\n %s\n\n" "$1" "$2" "$hash" >> ${SNAPSHOT_README} + echo " <tr><td><a href=\"$1\">$1</a></td>" >> ${SNAPSHOT_INDEX} echo " <td>$2</td></tr>" >> ${SNAPSHOT_INDEX} fi |