in the README file and notification mail.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163251
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
# 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