From 1faa6ddd01b247276e123f5d0b437700c9b462f1 Mon Sep 17 00:00:00 2001 From: Johnny Mnemonic Date: Tue, 25 Jun 2024 13:35:44 +0200 Subject: [PATCH] `sudo` needs a path in front of the tool to execute ...even though the tool is actually in `$PATH` during the workflow run. --- tools/workflow.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/workflow.bash b/tools/workflow.bash index de8112b..322cc37 100755 --- a/tools/workflow.bash +++ b/tools/workflow.bash @@ -64,7 +64,7 @@ echo "OK" # perform builds echo "I: performing build... " -sudo exec-in-chroot.bash "$T2_ROOT" "/perform-build.bash" || exit 1 +sudo ${TOOLS_DIR}/exec-in-chroot.bash "$T2_ROOT" "/perform-build.bash" || exit 1 echo "OK" exit