diff --git a/spitfire/patch.go b/spitfire/patch.go index 8a6f972..c767e38 100644 --- a/spitfire/patch.go +++ b/spitfire/patch.go @@ -57,7 +57,7 @@ func ApplyPatches(sourcePath string, patchesRepo string, patchesPath string, pat } // Apply the patches using `run.sh` - applyCmd := exec.Command("./run.sh", "--path", sourcePath, "--patches", fullPatchesPath) + applyCmd := exec.Command("go", "run", ".", "--path", sourcePath, "--patches", fullPatchesPath) applyCmd.Dir = patchesCloneDir // Run from the patches directory applyCmd.Dir = patchesCloneDir // Run from the patches directory applyCmd.Stdout = os.Stdout applyCmd.Stderr = os.Stderr