gcc_release (snapshot_print): Also include an sha1 hash for every tarball.
* gcc_release (snapshot_print): Also include an sha1 hash for every tarball. Slightly tweak indentation. From-SVN: r163487
This commit is contained in:
parent
756f50ce38
commit
52965ca612
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-08-23 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* gcc_release (snapshot_print): Also include an sha1 hash for
|
||||
every tarball. Slightly tweak indentation.
|
||||
|
||||
2010-08-15 Gerald Pfeifer <gerald@pfeifer.com>
|
||||
|
||||
* gcc_release (CVSROOT): Remove all occurrences.
|
||||
|
|
|
@ -386,9 +386,11 @@ upload_files() {
|
|||
# Print description if snapshot exists.
|
||||
snapshot_print() {
|
||||
if [ -e ${RELEASE}/$1 ]; then
|
||||
hash=`openssl md5 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
hash=`openssl md5 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
hash2=`openssl sha1 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
|
||||
|
||||
printf "%-38s%s\n\n %s\n\n" "$1" "$2" "$hash" >> ${SNAPSHOT_README}
|
||||
printf " %-37s%s\n\n %s\n %s\n\n" "$1" "$2" "$hash" "$hash2" \
|
||||
>> ${SNAPSHOT_README}
|
||||
|
||||
echo " <tr><td><a href=\"$1\">$1</a></td>" >> ${SNAPSHOT_INDEX}
|
||||
echo " <td>$2</td></tr>" >> ${SNAPSHOT_INDEX}
|
||||
|
|
Loading…
Add table
Reference in a new issue