Use bash instead of sh to execute the check-up-to-date script
This commit is contained in:
parent
fe8b061282
commit
efe1044a68
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user