which provided by git, try wget
authormayeut <mayeut@users.noreply.github.com>
Sat, 10 Oct 2015 12:30:15 +0000 (14:30 +0200)
committermayeut <mayeut@users.noreply.github.com>
Sat, 10 Oct 2015 12:30:15 +0000 (14:30 +0200)
tools/travis-ci/install.sh

index 2def910be2f51e239d973c969082172394cb0768..b850bd45186ddab73d318e1b06c7ae67d17840b9 100755 (executable)
@@ -9,7 +9,7 @@ case ${MACHTYPE} in
 esac
 
 if [ "${OPJ_CI_IS_CYGWIN:-}" == "1" ]; then
-       if ! which which; then
+       if ! which wget; then
                # PATH is not yet set up
                export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
        fi