Add CentOS-7 support to NSH_SFC build
[ci-management.git] / jjb / nsh_sfc / include-raw-nsh_sfc-build.sh
index 04383f2..98cbbd5 100644 (file)
@@ -28,12 +28,13 @@ fi
 echo "sha1sum of this script: ${0}"
 sha1sum $0
 
-if [ -n ${MVN} ]
+if [ -n "${MVN}" ]
 then
-  export MAVEN_HOME=$(realpath $(dirname ${MVN})/..)
+  export MAVEN_HOME=$(dirname ${MVN})/..
 else
   export MAVEN_HOME="/opt/apache/maven/"
 fi
+
 export PATH=${MAVEN_HOME}/bin:${PATH}
 
 scripts/ci/verify.sh