nsm: Source .profile in static-analysis.sh script 90/8890/1
authorFatih Degirmenci <fdegir@gmail.com>
Mon, 24 May 2021 09:43:50 +0000 (11:43 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Mon, 24 May 2021 09:43:50 +0000 (11:43 +0200)
Change-Id: I12fa30454957bcccede2a364b0d4b47259c571fc

jjb/nsm/scripts/static-analysis.sh

index 16274a112c5e2aa44d5099d6c70c2b3ec5ae6992..57a6861363b67272be3af28d1ef29a7cc67b18cf 100755 (executable)
@@ -22,8 +22,11 @@ set -o errexit
 set -o pipefail
 set -o nounset
 
+# source .profile
+source "$HOME/.profile"
+
 # navigate to WORKSPACE which is the root of the Git clone
-cd $WORKSPACE
+cd "$WORKSPACE"
 
 # git show for information purposes
 echo "--------------------------------------------"