From b9adf599ad111c478d69f24becdce9f0985bb59d Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Mon, 24 May 2021 11:43:50 +0200 Subject: [PATCH] nsm: Source .profile in static-analysis.sh script Change-Id: I12fa30454957bcccede2a364b0d4b47259c571fc --- jjb/nsm/scripts/static-analysis.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jjb/nsm/scripts/static-analysis.sh b/jjb/nsm/scripts/static-analysis.sh index 16274a11..57a68613 100755 --- a/jjb/nsm/scripts/static-analysis.sh +++ b/jjb/nsm/scripts/static-analysis.sh @@ -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 "--------------------------------------------" -- 2.25.1