Update kdu copy

This commit is contained in:
mayeut 2015-10-10 19:26:42 +02:00
parent 101a0034e2
commit c5a8732b0e
1 changed files with 7 additions and 6 deletions

View File

@ -9,12 +9,9 @@ case ${MACHTYPE} in
esac
if [ "${OPJ_CI_IS_CYGWIN:-}" == "1" ]; then
# Hack for appveyor
if ! which wget; then
# PATH is not yet set up
export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
fi
fi
# Set-up some error handling
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
@ -111,7 +108,11 @@ if [ "${OPJ_CI_SKIP_TESTS:-}" != "1" ]; then
wget -q http://kakadusoftware.com/wp-content/uploads/2014/06/KDU77_Demo_Apps_for_Win32_150710.msi_.zip
cmake -E tar -xf KDU77_Demo_Apps_for_Win32_150710.msi_.zip
msiexec /i KDU77_Demo_Apps_for_Win32_150710.msi /quiet /qn /norestart
if [ -d "C:/Program Files/Kakadu" ]; then
cp -r "C:/Program Files/Kakadu" ./kdu
else
cp -r "C:/Program Files (x86)/Kakadu" ./kdu
endif
fi
fi
fi