mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-20 16:20:16 +00:00
Fix dindctl when run from another dir
Change-type: patch
This commit is contained in:
4
dindctl
4
dindctl
@ -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
|
||||||
|
Reference in New Issue
Block a user