From 396d5fe4f8c49f2b721cd6e3b9758d898e7b03ec Mon Sep 17 00:00:00 2001 From: Emmerich Date: Mon, 29 Jan 2018 18:20:10 +0200 Subject: [PATCH] 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. --- imagefiles/dockcross | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagefiles/dockcross b/imagefiles/dockcross index 3b785ef..9661cfb 100755 --- a/imagefiles/dockcross +++ b/imagefiles/dockcross @@ -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