From 77ac610d084f78caab8fcf5728028a013ad4c0b4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 13 May 2024 00:34:54 +0200 Subject: [PATCH] appveyor: more tidy-ups - use `--disable` when calling `curl --version`. Just in case. - use single-quotes for a constant. Closes #13662 --- appveyor.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appveyor.sh b/appveyor.sh index fa0171d8b9..7c70f44551 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -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 -- 2.47.3