This is an automated email from the ASF dual-hosted git repository.

houshengbo pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 5300c04  Point the correct path of the public key and private key (#37)
5300c04 is described below

commit 5300c04797fdd42f924137308389b82b86c3375d
Author: violagao <33519250+viola...@users.noreply.github.com>
AuthorDate: Mon Feb 12 17:19:02 2018 -0500

    Point the correct path of the public key and private key (#37)
---
 tools/travis/import_pgp_key.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

-- 
To stop receiving notification emails like this one, please contact
houshen...@apache.org.

Reply via email to