build: Fix bad environment key

This commit is contained in:
世界
2023-11-15 13:05:33 +08:00
parent 474e2f2880
commit 835aeba26d

View File

@@ -12,7 +12,7 @@ import (
func main() {
build_shared.FindSDK()
if os.Getenv("build.Default.GOPATH") == "" {
if os.Getenv("GOPATH") == "" {
os.Setenv("GOPATH", build.Default.GOPATH)
}