From 1d525100d26849509d3d8ec34c9866dff1287a6b Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Fri, 2 Aug 2024 16:11:52 -0400 Subject: [PATCH] fix: allow to bind dirs on remote host (#111) Don't check if directories exist on the local host before mounting them. --- esi-shell | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/esi-shell b/esi-shell index 80a27e3..6fb34e7 100755 --- a/esi-shell +++ b/esi-shell @@ -266,9 +266,7 @@ do if [[ ${DOCKER_BIND_VOLUME-} =~ $(basename $dir) ]]; then continue fi - if [ -d $dir ]; then - DOCKER_BIND_VOLUME="${DOCKER_BIND_VOLUME-} -v $dir:$dir" - fi + DOCKER_BIND_VOLUME="${DOCKER_BIND_VOLUME-} -v $dir:$dir" done #if [ `uname -m` = "arm64" ]; then