From 293d5747e68aced78e5ad966745eaba683137dcb Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Sun, 19 Nov 2023 23:38:26 -0800 Subject: [PATCH] Fix command --- dist/platforms/ubuntu/entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dist/platforms/ubuntu/entrypoint.sh b/dist/platforms/ubuntu/entrypoint.sh index 45664ccd..3824aaf0 100755 --- a/dist/platforms/ubuntu/entrypoint.sh +++ b/dist/platforms/ubuntu/entrypoint.sh @@ -13,7 +13,6 @@ mkdir -p "/home/$USERNAME" chown $USERNAME:$GROUPNAME "/home/$USERNAME" # Switch to the host user so we can create files with the correct ownership -su - $USERNAME -c 'source /steps/runsteps.sh' +su - $USERNAME -c "$SHELL -c 'source /steps/runsteps.sh'" -# Exiting main script -exit $BUILD_EXIT_CODE +exit $?