1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-31 01:20:23 +00:00

Merge pull request #2017 from sthalik/pr/allow-build-under-cygwin-msys2-etc

fix build with CI dependencies on all Cygwin derivatives
This commit is contained in:
Bret Curtis 2018-11-09 10:07:36 +01:00 committed by GitHub
commit 461ba74d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,11 @@ download() {
} }
real_pwd() { 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="" CMAKE_OPTS=""