Use bash instead of sh to execute the check-up-to-date script
All checks were successful
Workflows / Wake Runner (push) Successful in 4s
Workflows / Run script (push) Successful in 54s

This commit is contained in:
Sebastiaan de Schaetzen 2025-05-01 15:21:56 +02:00
parent fe8b061282
commit efe1044a68

View File

@ -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 {