You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by dn...@apache.org on 2015/12/07 22:26:10 UTC
svn commit: r1718472 - /poi/tags/REL_3_14_BETA1/maven/multisign.sh
Author: dnorth
Date: Mon Dec 7 21:26:10 2015
New Revision: 1718472
URL: http://svn.apache.org/viewvc?rev=1718472&view=rev
Log:
Add an environment variable GPG_BIN so those of us who use gnupg 2.x (gpg2 on most systems) can switch to that
Modified:
poi/tags/REL_3_14_BETA1/maven/multisign.sh
Modified: poi/tags/REL_3_14_BETA1/maven/multisign.sh
URL: http://svn.apache.org/viewvc/poi/tags/REL_3_14_BETA1/maven/multisign.sh?rev=1718472&r1=1718471&r2=1718472&view=diff
==============================================================================
--- poi/tags/REL_3_14_BETA1/maven/multisign.sh (original)
+++ poi/tags/REL_3_14_BETA1/maven/multisign.sh Mon Dec 7 21:26:10 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
@@ -33,7 +37,7 @@ 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
+ $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