build: Fix bad environment key

This commit is contained in:
世界
2023-11-16 01:42:24 +08:00
parent 3a2808cff6
commit 7c49196792
+1 -1
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)
}