Skip to content

Commit

Permalink
coverity-scan.sh: inherity $JEHANNE if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Shamar committed Dec 23, 2015
1 parent f62c23d commit 0d8e5b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions coverity-scan.sh
Expand Up @@ -2,8 +2,10 @@
set -e

if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then
export JEHANNE=`git rev-parse --show-toplevel|sed 's/\/hacking//g'`
export PATH="$JEHANNE/hacking:$PATH"
if [ -z "$JEHANNE" ]; then
export JEHANNE=`git rev-parse --show-toplevel|sed 's/\/hacking//g'`
export PATH="$JEHANNE/hacking/bin:$PATH"
fi
export SH=`which rc`
export ARCH=amd64
git clean -x -d -f
Expand Down

0 comments on commit 0d8e5b4

Please sign in to comment.