mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-01-22 14:15:44 +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/\//:\/}
|
HOST_PWD=${HOST_PWD/\//:\/}
|
||||||
else
|
else
|
||||||
HOST_PWD=$PWD
|
HOST_PWD=$PWD
|
||||||
|
[ -L $HOST_PWD ] && HOST_PWD=$(readlink $HOST_PWD)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Mount Additional Volumes
|
# Mount Additional Volumes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user