[X2Go-Commits] [buildscripts] 01/01: x2go-signtarballs: be more verbose, add sha256 checksums

git-admin at x2go.org git-admin at x2go.org
Tue Feb 10 20:23:05 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit d73247d9496f6bf8f0b7bff84af9c375bb0916bc
Author: X2Go Admin <git-admin at x2go.org>
Date:   Tue Feb 10 20:22:46 2015 +0100

    x2go-signtarballs: be more verbose, add sha256 checksums
---
 bin/signtarballs |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list