build: Fix bad environment key

This commit is contained in:
世界 2023-11-15 13:05:33 +08:00
parent 3a2808cff6
commit 7c49196792
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
1 changed files with 1 additions and 1 deletions

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)
}