runtests: accept CURL_DIRSUFFIX without ending slash

Follow-up to 3585796049 #16452
Closes #16506
This commit is contained in:
Viktor Szakats 2025-02-27 02:38:07 +01:00
parent 59f4727480
commit cba83bfb10
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
4 changed files with 20 additions and 7 deletions

View file

@ -147,7 +147,7 @@ fi
if [ "${TFLAGS}" != 'skipall' ] && \
[ "${TFLAGS}" != 'skiprun' ]; then
export CURL_DIRSUFFIX="${PRJ_CFG}/"
export CURL_DIRSUFFIX="${PRJ_CFG}"
if [ -x "$(cygpath "${SYSTEMROOT}/System32/curl.exe")" ]; then
TFLAGS+=" -ac $(cygpath "${SYSTEMROOT}/System32/curl.exe")"
elif [ -x "$(cygpath 'C:/msys64/usr/bin/curl.exe')" ]; then