appveyor: more tidy-ups

- use `--disable` when calling `curl --version`. Just in case.

- use single-quotes for a constant.

Closes #13662
This commit is contained in:
Viktor Szakats 2024-05-13 00:34:54 +02:00
parent d927ab0ae9
commit 77ac610d08
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -119,7 +119,7 @@ fi
find . -name '*.exe' -o -name '*.dll'
if [ -z "${SKIP_RUN:-}" ]; then
"${curl}" --version
"${curl}" --disable --version
else
echo "Skip running curl.exe. Reason: ${SKIP_RUN}"
fi
@ -136,8 +136,8 @@ if [ "${TESTING}" = 'ON' ]; then
export TFLAGS=''
if [ -x "$(cygpath -u "${WINDIR}/System32/curl.exe")" ]; then
TFLAGS+=" -ac $(cygpath -u "${WINDIR}/System32/curl.exe")"
elif [ -x "$(cygpath -u "C:/msys64/usr/bin/curl.exe")" ]; then
TFLAGS+=" -ac $(cygpath -u "C:/msys64/usr/bin/curl.exe")"
elif [ -x "$(cygpath -u 'C:/msys64/usr/bin/curl.exe')" ]; then
TFLAGS+=" -ac $(cygpath -u 'C:/msys64/usr/bin/curl.exe')"
fi
TFLAGS+=" ${DISABLED_TESTS:-}"
if [ "${BUILD_SYSTEM}" = 'CMake' ]; then