summaryrefslogtreecommitdiffstats
path: root/jjb/nsh_sfc
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2016-11-03 08:39:51 -0700
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2016-11-03 08:39:51 -0700
commit35f39f88878052650bb23ebaafd09bddc81109de (patch)
treea22094c3141ff69a7351f7cbe266a4946a486e80 /jjb/nsh_sfc
parent583c323674e3605c7436e0bd00d6ae9b40405557 (diff)
Make sure that null checks against $MVN are correct
Checking to see if a string is not null doesn't work well when the string isn't quoted. Change-Id: I62457be5a2e4135dfe47dafc8ec742b13b0a8016 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/nsh_sfc')
-rw-r--r--jjb/nsh_sfc/include-raw-nsh_sfc-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh b/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh
index 5faff2868..98cbbd5a9 100644
--- a/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh
+++ b/jjb/nsh_sfc/include-raw-nsh_sfc-build.sh
@@ -28,7 +28,7 @@ fi
echo "sha1sum of this script: ${0}"
sha1sum $0
-if [ -n ${MVN} ]
+if [ -n "${MVN}" ]
then
export MAVEN_HOME=$(dirname ${MVN})/..
else