Skip to content

Commit e8c4979

Browse files
authored
use forked go (#100)
1 parent 485cf11 commit e8c4979

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

keybot/keybot.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ func (k *keybot) Run(bot *slackbot.Bot, channel string, args []string) (string,
8989

9090
home := os.Getenv("HOME")
9191
javaHome := "/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home"
92-
path := javaHome + "/bin:" + "/sbin:/usr/sbin:/bin:/usr/local/bin:/usr/bin:/opt/homebrew/bin"
92+
javaBin := javaHome + "/bin"
93+
// need custom go to fix issue
94+
goRoot := "/Users/build/code/go"
95+
goBin := goRoot + "/bin"
96+
path := goBin + ":" + javaBin + ":/sbin:/usr/sbin:/bin:/usr/local/bin:/usr/bin:/opt/homebrew/bin"
9397
env := launchd.NewEnv(home, path)
9498
androidHome := "/usr/local/opt/android-sdk"
9599
ndkVer65x := "23.1.7779620"

0 commit comments

Comments
 (0)