From d73247d9496f6bf8f0b7bff84af9c375bb0916bc Mon Sep 17 00:00:00 2001 From: X2Go Admin Date: Tue, 10 Feb 2015 20:22:46 +0100 Subject: x2go-signtarballs: be more verbose, add sha256 checksums --- bin/signtarballs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/signtarballs') diff --git a/bin/signtarballs b/bin/signtarballs index 81fa596..12be260 100755 --- a/bin/signtarballs +++ b/bin/signtarballs @@ -3,8 +3,9 @@ test -d _releases_ && cd _releases_ || test -d ../_releases_ && cd ../_releases_ || exit -1 find * -type f | egrep ".*(\.zip|\.tar\.gz|\.exe|\.dmg)$" | while read tarball; do - test -f $tarball.md5 || md5sum $tarball > $tarball.md5 - test -f $tarball.sha1 || sha1sum $tarball > $tarball.sha1 + test -f $tarball.md5 || md5sum $tarball | tee $tarball.md5 + test -f $tarball.sha1 || sha1sum $tarball | tee $tarball.sha1 + test -f $tarball.sha256 || sha256sum $tarball | tee $tarball.sha256 test -f $tarball.asc || gpg -a -b --sign $tarball done -- cgit v1.2.3