diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -81,6 +81,11 @@ func (f *Forge) postInit() error { env.SetGlobal("lib/forgepb", "gopath", gopath) } + // always define + if env.Get("curpatches") == "" { + env.SetGlobal("lib/forgepb", "curpatches", "curpatches.pb") + } + // always set f.mode switch env.Get("Mode") { case "NORMAL": |
