syncthing-inotify: set GOROOT to go's opt_libexec

Closes #6029.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
ilovezfs 2016-10-26 01:01:28 -07:00 committed by Alex Dunn
parent 7ace4e0405
commit e5d01d3c2d
No known key found for this signature in database
GPG key ID: 8C81F8F098CA78D8

View file

@ -17,6 +17,7 @@ class SyncthingInotify < Formula
def install
ENV["GOPATH"] = buildpath
ENV["GOROOT"] = Formula["go"].opt_libexec
dir = buildpath/"src/github.com/syncthing/syncthing-inotify"
dir.install buildpath.children
cd dir do