mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
if PWD is a symbolic link then read / find the link
so docker mounts the volume properly
This commit is contained in:
parent
ba6b0624f8
commit
ad4eb279c4
@ -200,6 +200,7 @@ elif [ -n "$MSYS" ]; then
|
||||
HOST_PWD=${HOST_PWD/\//:\/}
|
||||
else
|
||||
HOST_PWD=$PWD
|
||||
[ -L $HOST_PWD ] && HOST_PWD=$(readlink $HOST_PWD)
|
||||
fi
|
||||
|
||||
# Mount Additional Volumes
|
||||
|
Loading…
Reference in New Issue
Block a user