From 97075a24228045c48bb4045839594eae7c6f73b5 Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Wed, 1 Sep 2021 14:06:02 -0600 Subject: [PATCH] build: fix cross build run script Fixes issues with the `build/run` tooling, notably for publishing images where `build/run make ` would only result in `make` being called without args. Signed-off-by: Blaine Gardner --- images/cross/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/cross/run.sh b/images/cross/run.sh index bf8340db1..ac2c1da46 100755 --- a/images/cross/run.sh +++ b/images/cross/run.sh @@ -33,4 +33,4 @@ export HOME=/home/${BUILDER_USER} echo "127.0.0.1 $(cat /etc/hostname)" >> /etc/hosts [[ -S /var/run/docker.sock ]] && chmod 666 /var/run/docker.sock chown -R "$BUILDER_UID":"$BUILDER_GID" "$HOME" -exec chpst -u :"$BUILDER_UID":"$BUILDER_GID" "${ARGS[0]}" +exec chpst -u :"$BUILDER_UID":"$BUILDER_GID" "${ARGS[@]}"