summaryrefslogtreecommitdiff
path: root/bin/signtarballs
diff options
context:
space:
mode:
authorX2Go Release Manager <git-admin@x2go.org>2015-02-10 23:27:28 +0100
committerX2Go Release Manager <git-admin@x2go.org>2015-02-10 23:27:28 +0100
commitc1ba64659ee13c4fbb26537ecd2f8daef0eab3c4 (patch)
tree126f6d1d631d600c2e886fb2c4a123fad9a1d93b /bin/signtarballs
parenta7d0e8dbd446a4d5828bc82b79e75bf997b39ee7 (diff)
downloadbuildscripts-c1ba64659ee13c4fbb26537ecd2f8daef0eab3c4.tar.gz
buildscripts-c1ba64659ee13c4fbb26537ecd2f8daef0eab3c4.tar.bz2
buildscripts-c1ba64659ee13c4fbb26537ecd2f8daef0eab3c4.zip
signtarballs: remove tarball file name from verbose output -- already included in checksum outputs.
Diffstat (limited to 'bin/signtarballs')
-rwxr-xr-xbin/signtarballs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/signtarballs b/bin/signtarballs
index 9a81b77..31c95ae 100755
--- a/bin/signtarballs
+++ b/bin/signtarballs
@@ -3,8 +3,8 @@
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" || { printf "${tarball}.md5: "; md5sum "${tarball}" | tee "${tarball}.md5"; }
- test -f "${tarball}.sha1" || { printf "${tarball}.sha1: "; sha1sum "${tarball}" | tee "${tarball}.sha1"; }
- test -f "${tarball}.sha256" || { printf "${tarball}.sha256: "; sha256sum "${tarball}" | tee "${tarball}.sha256"; }
+ test -f "${tarball}.md5" || { printf "md5: "; md5sum "${tarball}" | tee "${tarball}.md5"; }
+ test -f "${tarball}.sha1" || { printf "sha1: "; sha1sum "${tarball}" | tee "${tarball}.sha1"; }
+ test -f "${tarball}.sha256" || { printf "sha256: "; sha256sum "${tarball}" | tee "${tarball}.sha256"; }
test -f "${tarball}.asc" || { printf "signing ${tarball}... "; gpg -a -b --sign "${tarball}"; printf 'done.\n'; }
done