diff options
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 |
