added windows compatability
This commit is contained in:
parent
e7faf3d641
commit
0384dbfc37
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue