Fix dindctl when run from another dir

Change-type: patch
This commit is contained in:
Pagan Gazzard
2019-11-11 23:51:47 +00:00
parent b4ad29ec14
commit 57d4a19f1d

View File

@ -136,8 +136,8 @@ function refreshSupervisorSrc {
} }
function runDind { function runDind {
if [ ! -f "tools/dind/resinos-in-container/resinos-in-container.sh" ]; then if [ ! -f "$SUPERVISOR_BASE_DIR/tools/dind/resinos-in-container/resinos-in-container.sh" ]; then
git submodule update --init (cd $SUPERVISOR_BASE_DIR; git submodule update --init)
fi fi
if [ "$MOUNT_DIST" = "true" ]; then if [ "$MOUNT_DIST" = "true" ]; then
buildSupervisorSrc buildSupervisorSrc