]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
appveyor: more tidy-ups
authorViktor Szakats <commit@vsz.me>
Sun, 12 May 2024 22:34:54 +0000 (00:34 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 15 May 2024 12:56:52 +0000 (14:56 +0200)
- use `--disable` when calling `curl --version`. Just in case.

- use single-quotes for a constant.

Closes #13662

appveyor.sh

index fa0171d8b98db443366233c94a236ec04b7861c7..7c70f44551f9b13f3cc65b5e6851e6f8e33d7b8b 100644 (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