diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2016-11-03 08:39:51 -0700 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2016-11-03 08:39:51 -0700 |
commit | 35f39f88878052650bb23ebaafd09bddc81109de (patch) | |
tree | a22094c3141ff69a7351f7cbe266a4946a486e80 | |
parent | 583c323674e3605c7436e0bd00d6ae9b40405557 (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>
-rw-r--r-- | jjb/nsh_sfc/include-raw-nsh_sfc-build.sh | 2 |
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 |