Only perform platform test on ming/cygwin.

v0.27.3
Robin Mills 5 years ago
parent c85c930b26
commit 214851cd21

@ -440,7 +440,10 @@ startHttpServer() {
# PLATFORM = the scripting host (eg mingw)
# host = the build host (eg windows for msvc)
host=$(runTest exiv2 -vVg platform | tail -1 | cut -d= -f 2) # windows
host=$PLATFORM
if [ $PLATFORM == 'cygwin' -o $PLATFORM == 'mingw' ]; then
host=$(runTest exiv2 -vVg platform | tail -1 | cut -d= -f 2) # windows
fi
if [ "$host" != windows ]; then host="$PLATFORM" ; fi
if [ "$host" == "cygwin" ]; then dport=12762

Loading…
Cancel
Save