summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.go b/init.go
index 1470af5..a736bcf 100644
--- a/init.go
+++ b/init.go
@@ -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