You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by al...@apache.org on 2020/04/10 05:21:33 UTC

[openwhisk-wskdebug] branch scancode-local created (now ec3984d)

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

alexkli pushed a change to branch scancode-local
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdebug.git.


      at ec3984d  allow scancode.sh to be run repeatedly and locally

This branch includes the following new commits:

     new ec3984d  allow scancode.sh to be run repeatedly and locally

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[openwhisk-wskdebug] 01/01: allow scancode.sh to be run repeatedly and locally

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

alexkli pushed a commit to branch scancode-local
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdebug.git

commit ec3984d32393e770339f946acb9444b902ed79a3
Author: Alexander Klimetschek <ak...@adobe.com>
AuthorDate: Thu Apr 9 22:20:56 2020 -0700

    allow scancode.sh to be run repeatedly and locally
---
 travis/scancode.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/travis/scancode.sh b/travis/scancode.sh
index 2c354bb..bb146bc 100755
--- a/travis/scancode.sh
+++ b/travis/scancode.sh
@@ -26,7 +26,13 @@ UTIL_DIR="$HOMEDIR/openwhisk-utilities"
 
 # clone OpenWhisk utilities repo. in order to run scanCode.py
 cd $HOMEDIR
-git clone https://github.com/apache/openwhisk-utilities.git
+
+if [ ! -d "openwhisk-utilities" ] ; then
+    git clone https://github.com/apache/openwhisk-utilities.git
+else
+    cd "openwhisk-utilities"
+    git pull
+fi
 
 # run scancode
 cd $UTIL_DIR