Restore openjpeg-data pointer.

This commit is contained in:
Liviu Nicoara 2020-05-27 18:17:44 -04:00
parent 8cccd6b3e8
commit a99c4418cf
1 changed files with 2 additions and 2 deletions

View File

@ -54,12 +54,12 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
else
OPJ_DATA_BRANCH=$(git -C ${OPJ_SOURCE_DIR} branch | grep '*' | tr -d '*[[:blank:]]') #default to same branch as we're setting up
fi
OPJ_DATA_HAS_BRANCH=$(git ls-remote --heads git://github.com/thinkoid/openjpeg-data.git ${OPJ_DATA_BRANCH} | wc -l)
OPJ_DATA_HAS_BRANCH=$(git ls-remote --heads git://github.com/uclouvain/openjpeg-data.git ${OPJ_DATA_BRANCH} | wc -l)
if [ ${OPJ_DATA_HAS_BRANCH} -eq 0 ]; then
OPJ_DATA_BRANCH=master #default to master
fi
echo "Cloning openjpeg-data from ${OPJ_DATA_BRANCH} branch"
git clone --depth=1 --branch=${OPJ_DATA_BRANCH} git://github.com/thinkoid/openjpeg-data.git data
git clone --depth=1 --branch=${OPJ_DATA_BRANCH} git://github.com/uclouvain/openjpeg-data.git data
# We need jpylyzer for the test suite
JPYLYZER_VERSION="1.17.0"