summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMatthieu Darbois <mayeut@users.noreply.github.com>2016-06-25 01:09:42 +0200
committerGitHub <noreply@github.com>2016-06-25 01:09:42 +0200
commite4c74f536461f6af1d4487bf4e8250d60a06f431 (patch)
treec30d8aa7a9d514783189717250dfa72c0eb8e103 /tools
parentcb72c08472f2e82387ebdde1792c6b39a25019d5 (diff)
Correct abi-check.sh for PR (#791)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/travis-ci/abi-check.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/travis-ci/abi-check.sh b/tools/travis-ci/abi-check.sh
index 538ae57f..13d0ff50 100755
--- a/tools/travis-ci/abi-check.sh
+++ b/tools/travis-ci/abi-check.sh
@@ -59,12 +59,10 @@ export PATH=${PWD}/tools/abi-tracker/bin:$PATH
mkdir work
cd work
-# If upload is scheduled, clone the gh-pages branch and work from there
-if [ ${OPJ_UPLOAD_ABI_REPORT} -eq 1 ]; then
- git clone -b $OPJ_UPLOAD_BRANCH --single-branch $OPJ_REPO .
- cd $OPJ_UPLOAD_DIR
- rm -rf installed/openjpeg/current/*
-fi
+# Clone the gh-pages branch and work from there
+git clone -b $OPJ_UPLOAD_BRANCH --single-branch $OPJ_REPO .
+cd $OPJ_UPLOAD_DIR
+rm -rf installed/openjpeg/current/*
# Let's create all we need
grep -v Git ${OPJ_SOURCE_DIR}/tools/abi-tracker/openjpeg.json > ./openjpeg.json