diff options
| author | Jeff Carr <[email protected]> | 2025-08-28 18:56:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-28 19:30:59 -0500 |
| commit | c4146f9fbe96332ede413f8ba3f3546f8346dfc0 (patch) | |
| tree | 33efbbb851af19d842bba8ae774c2b3642a24571 /init.go | |
| parent | 0539e2feee23adc0be8a88e1c6dc214cc7d98de5 (diff) | |
read in patches in Init()
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -238,6 +238,12 @@ func RawInitPB() *Forge { log.Info("got forge url", f.forgeURL) } + // where patches are stored + f.patchDir = f.goSrc + if os.Getenv("FORGE_PATCHDIR") != "" { + f.patchDir = os.Getenv("FORGE_PATCHDIR") + } + // todo: play with these / determine good values based on user's machine f.rillX = 10 f.rillY = 20 |
