diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2015-12-09 16:06:14 -0800 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2015-12-09 16:06:14 -0800 |
commit | 27685529c80e3c673bfddae7adb17936bd20e394 (patch) | |
tree | cf0d83159e2de76cc19536acf79d8efbd4598a27 /jjb/vpp | |
parent | 43bc165d927c9be21f9f892f8171c35aecb9e8d9 (diff) |
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 <agrimberg@linuxfoundation.org>
Diffstat (limited to 'jjb/vpp')
-rw-r--r-- | jjb/vpp/include-raw-vpp-maven-push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |