updated patch.go to work with updated patch script

This commit is contained in:
partisan 2024-12-08 17:57:29 +01:00
parent a71e0804f2
commit bb6e62e569

View file

@ -53,7 +53,7 @@ func ApplyPatches(sourcePath string, patchesRepo string) error {
} }
// Apply the patches using `go run apply.go` // Apply the patches using `go run apply.go`
applyCmd := exec.Command("go", "run", "apply.go", "--path="+sourcePath) applyCmd := exec.Command("run.sh", "--path "+sourcePath)
applyCmd.Dir = patchesCloneDir // Run from the patches directory applyCmd.Dir = patchesCloneDir // Run from the patches directory
applyCmd.Stdout = os.Stdout applyCmd.Stdout = os.Stdout
applyCmd.Stderr = os.Stderr applyCmd.Stderr = os.Stderr