mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
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:
parent
3149fa69b5
commit
396d5fe4f8
@ -183,7 +183,7 @@ fi
|
|||||||
|
|
||||||
# Change the PWD when working in Docker on Windows
|
# Change the PWD when working in Docker on Windows
|
||||||
if [ -n "$UBUNTU_ON_WINDOWS" ]; then
|
if [ -n "$UBUNTU_ON_WINDOWS" ]; then
|
||||||
HOST_PWD=$PWD
|
HOST_PWD=`pwd -P`
|
||||||
HOST_PWD=${HOST_PWD/\/mnt\//}
|
HOST_PWD=${HOST_PWD/\/mnt\//}
|
||||||
HOST_PWD=${HOST_PWD/\//:\/}
|
HOST_PWD=${HOST_PWD/\//:\/}
|
||||||
elif [ -n "$MSYS" ]; then
|
elif [ -n "$MSYS" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user