From efe1044a6817a8eb807d117ad5af3fd10e854053 Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com> Date: Thu, 1 May 2025 15:21:56 +0200 Subject: [PATCH] Use bash instead of sh to execute the check-up-to-date script --- autobuilder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autobuilder.go b/autobuilder.go index 99147e0..b41d75f 100644 --- a/autobuilder.go +++ b/autobuilder.go @@ -142,7 +142,7 @@ func cloneRepository(token string, repo Repository, workDir string) (string, err func checkUpToDate(repoPath string) (bool, error) { log.Println("Checking if up-to-date") - cmd := exec.Command("/bin/sh", "./check-up-to-date.sh", repoPath) + cmd := exec.Command("bash", "./check-up-to-date.sh", repoPath) output, err := cmd.CombinedOutput() log.Println("Command output: ", string(output)) if err != nil {