summaryrefslogtreecommitdiff
path: root/tools/run-container
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run-container')
-rwxr-xr-xtools/run-container5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/run-container b/tools/run-container
index a7a552ec..7212550e 100755
--- a/tools/run-container
+++ b/tools/run-container
@@ -463,9 +463,8 @@ main() {
return
}
- inside_as_cd "$name" root "$cdir" \
- python3 ./tools/read-dependencies "--distro=${OS_NAME}" \
- --test-distro || {
+ local rdcmd=(python3 tools/read-dependencies "--distro=${OS_NAME}" --install --test-distro)
+ inside_as_cd "$name" root "$cdir" "${rdcmd[@]}" || {
errorrc "FAIL: failed to install dependencies with read-dependencies"
return
}