Only perform platform test on ming/cygwin.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user