diff --git a/CI/before_script.msvc.sh b/CI/before_script.msvc.sh index c328dd882..55dda74af 100644 --- a/CI/before_script.msvc.sh +++ b/CI/before_script.msvc.sh @@ -194,7 +194,11 @@ download() { } real_pwd() { - pwd | sed "s,/\(.\),\1:," + if type cygpath >/dev/null 2>&1; then + cygpath -am "$PWD" + else + pwd # not git bash, Cygwin or the like + fi } CMAKE_OPTS=""