# 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# *= *#=#'`
+ hash2=`openssl sha1 ${RELEASE}/$1 | sed -e 's#(.*)##' -e 's# *= *#=#'`
+
+ 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}
fi
# Set up SVNROOT.
if [ $LOCAL -eq 0 ]; then
SVNROOT="svn+ssh://${SVN_USERNAME}@${SVN_SERVER}${SVN_REPOSITORY}"
- CVSROOT=":ext:${SVN_USERNAME}@gcc.gnu.org/cvs/gcc"
else
SVNROOT="file:///svn/gcc"
- CVSROOT="/cvs/gcc"
fi
export SVNROOT
-export CVSROOT
########################################################################
# Main Program