You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/02/12 22:15:58 UTC

[GitHub] houshengbo closed pull request #36: Point the correct path of the public key and private key

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

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:
users@infra.apache.org


With regards,
Apache Git Services