You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2011/09/10 15:52:25 UTC
svn commit: r1167516 - /httpd/site/trunk/tools/hash-sign.sh
Author: wrowe
Date: Sat Sep 10 13:52:24 2011
New Revision: 1167516
URL: http://svn.apache.org/viewvc?rev=1167516&view=rev
Log:
This code made no sense, args wasn't initialized
Modified:
httpd/site/trunk/tools/hash-sign.sh
Modified: httpd/site/trunk/tools/hash-sign.sh
URL: http://svn.apache.org/viewvc/httpd/site/trunk/tools/hash-sign.sh?rev=1167516&r1=1167515&r2=1167516&view=diff
==============================================================================
--- httpd/site/trunk/tools/hash-sign.sh (original)
+++ httpd/site/trunk/tools/hash-sign.sh Sat Sep 10 13:52:24 2011
@@ -117,9 +117,7 @@ if test -x "${pgp}"; then
done
# no pgp found - check for gpg
elif test -x "${gpg}"; then
- if test -z "${user}"; then
- args="--default-key ${args}"
- else
+ if test -n "${user}"; then
args="-u ${user} ${args}"
fi
for file in ${allfiles}; do