From 27685529c80e3c673bfddae7adb17936bd20e394 Mon Sep 17 00:00:00 2001 From: Andrew Grimberg Date: Wed, 9 Dec 2015 16:06:14 -0800 Subject: [PATCH] ENV var test for MAVEN_SELECTOR was inverted The script should be detecting on a null ENV var, not a non-null variable. In other words, the test was inverted. Change-Id: If5ee68301300ec363e171f99798c06daa1428ede Signed-off-by: Andrew Grimberg --- jjb/vpp/include-raw-vpp-maven-push.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/vpp/include-raw-vpp-maven-push.sh b/jjb/vpp/include-raw-vpp-maven-push.sh index 29e8f6326..a625ed40c 100644 --- a/jjb/vpp/include-raw-vpp-maven-push.sh +++ b/jjb/vpp/include-raw-vpp-maven-push.sh @@ -1,7 +1,7 @@ #!/bin/bash # Determine the path to maven -if [ -n "${MAVEN_SELECTOR}" ]; then +if [ -z "${MAVEN_SELECTOR}" ]; then echo "ERROR: No Maven install detected!" exit 1 fi -- 2.16.6