if PWD is a symbolic link then read / find the link

so docker mounts the volume properly
This commit is contained in:
Daniel Hwang 2020-05-25 13:54:13 -07:00
parent ba6b0624f8
commit ad4eb279c4
No known key found for this signature in database
GPG Key ID: 678563C9BB0E60C0

View File

@ -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