From ad4eb279c4358445c7781deff33286c186de73ff Mon Sep 17 00:00:00 2001 From: Daniel Hwang Date: Mon, 25 May 2020 13:54:13 -0700 Subject: [PATCH] if PWD is a symbolic link then read / find the link so docker mounts the volume properly --- imagefiles/dockcross | 1 + 1 file changed, 1 insertion(+) diff --git a/imagefiles/dockcross b/imagefiles/dockcross index 964ab83..583468f 100755 --- a/imagefiles/dockcross +++ b/imagefiles/dockcross @@ -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