houshengbo closed pull request #37: Point the correct path of the public key 
and private key
URL: https://github.com/apache/incubator-openwhisk-release/pull/37
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tools/travis/import_pgp_key.sh b/tools/travis/import_pgp_key.sh
index fca5112..2998758 100755
--- a/tools/travis/import_pgp_key.sh
+++ b/tools/travis/import_pgp_key.sh
@@ -5,10 +5,11 @@ set -e
 echo "Import the PGP key."
 
 SCRIPTDIR="$(cd $(dirname "$0")/ && pwd)"
+PARENTDIR="$(dirname "$SCRIPTDIR")"
 
 # Load the public key located in the repo of openwhisk release.
 echo "Load the public key."
-gpg --import $SCRIPTDIR/key_pub.gpg
+gpg --import $PARENTDIR/key_pub.gpg
 
 echo "Load the private key."
-gpg --allow-secret-key-import --import $SCRIPTDIR/key_sec.gpg
+gpg --allow-secret-key-import --import $PARENTDIR/key_sec.gpg


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to