poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dno...@apache.org
Subject svn commit: r1718483 - /poi/trunk/maven/multisign.sh
Date Mon, 07 Dec 2015 22:21:05 GMT
Author: dnorth
Date: Mon Dec  7 22:21:05 2015
New Revision: 1718483

URL: http://svn.apache.org/viewvc?rev=1718483&view=rev
Log:
Multisign update to allow gpg2 usage

Modified:
    poi/trunk/maven/multisign.sh

Modified: poi/trunk/maven/multisign.sh
URL: http://svn.apache.org/viewvc/poi/trunk/maven/multisign.sh?rev=1718483&r1=1718482&r2=1718483&view=diff
==============================================================================
--- poi/trunk/maven/multisign.sh (original)
+++ poi/trunk/maven/multisign.sh Mon Dec  7 22:21:05 2015
@@ -17,6 +17,10 @@
 #
 #   create md5 checksums and gpg signatures 
 
+echo "If you use gpg2 you need to set GPG_BIN accordingly"
+
+GPG_BIN=gpg
+
 stty -echo
 echo "enter your GPG passphrase"
 read passphrase
@@ -32,8 +36,8 @@ LACKING_SHA1SUM=$?
 for i in *; do
     echo ""
     echo Signing $i
-    echo $passphrase | gpg --passphrase-fd 0 --output $i.asc --detach-sig --armor $i
-    gpg --verify $i.asc $i
+    echo $passphrase | $GPG_BIN --passphrase-fd 0 --output $i.asc --detach-sig --armor $i
+    $GPG_BIN --verify $i.asc $i
     echo Hashing $i
 
     if [ "$LACKING_MD5SUM" = "1" ]; then



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message