Unverified Commit 5fdac8d4 authored by Marcel Raad's avatar Marcel Raad
Browse files

runtests: use Windows paths for Windows curl

curl generated by CMake's Visual Studio generator has "Windows" in the
version number.
parent 3b4f2437
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2685,7 +2685,7 @@ sub checksystem {
            if($curl =~ /linux|bsd|solaris|darwin/) {
            if($curl =~ /linux|bsd|solaris|darwin/) {
                $has_ldpreload = 1;
                $has_ldpreload = 1;
            }
            }
            if($curl =~ /win32|mingw(32|64)/) {
            if($curl =~ /win32|Windows|mingw(32|64)/) {
                # This is a Windows MinGW build or native build, we need to use
                # This is a Windows MinGW build or native build, we need to use
                # Win32-style path.
                # Win32-style path.
                $pwd = pathhelp::sys_native_current_path();
                $pwd = pathhelp::sys_native_current_path();