allow scancode.sh to be run repeatedly and locally (#38)
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 @@
# 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