fixed '--skip-patch-update' flag
This commit is contained in:
parent
e99e7bf437
commit
504fc59573
2 changed files with 18 additions and 10 deletions
|
@ -29,7 +29,7 @@ func ApplyPatches(sourcePath string, patchesRepo string, patchesPath string, pat
|
|||
}
|
||||
fmt.Println("Patches repository cloned successfully.")
|
||||
} else {
|
||||
if skipUpdateRepo {
|
||||
if !skipUpdateRepo {
|
||||
// If the directory exists, fetch and pull the latest changes
|
||||
fmt.Println("Patches directory already exists. Fetching latest changes.")
|
||||
cmdFetch := exec.Command("git", "fetch", "--all")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue