Skip to content

Commit

Permalink
Correct abi-check.sh for PR (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Jun 24, 2016
1 parent cb72c08 commit e4c74f5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tools/travis-ci/abi-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4c74f5

Please sign in to comment.