coverity-scan.sh: fix environment test

This commit is contained in:
Giacomo Tesio 2015-12-23 01:23:59 +01:00
parent 0d8e5b4df9
commit 26847c6486
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
if [ "${COVERITY_SCAN_BRANCH}" == "1" ]; then
if [ -z "$JEHANNE" ]; then
export JEHANNE=`git rev-parse --show-toplevel|sed 's/\/hacking//g'`
export PATH="$JEHANNE/hacking/bin:$PATH"