Changed Windows Subsystem for Linux's PWD to be the physical path rather than relative since windows cannot traverse a relative path inside the Linux subsystem.

This commit is contained in:
Emmerich 2018-01-29 18:20:10 +02:00
parent 3149fa69b5
commit 396d5fe4f8

View File

@ -183,7 +183,7 @@ fi
# Change the PWD when working in Docker on Windows
if [ -n "$UBUNTU_ON_WINDOWS" ]; then
HOST_PWD=$PWD
HOST_PWD=`pwd -P`
HOST_PWD=${HOST_PWD/\/mnt\//}
HOST_PWD=${HOST_PWD/\//:\/}
elif [ -n "$MSYS" ]; then