summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules/go2
-rw-r--r--test/unit/applications/lang/go.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/modules/go b/auto/modules/go
index 4646684e..fad31036 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -72,7 +72,7 @@ fi
NXT_GO_PATH=${NXT_GO_PATH=`${NXT_GO} env GOPATH`}
-NXT_GO_PATH=${NXT_GO_PATH:-`pwd`/${NXT_GO}}
+NXT_GO_PATH=${NXT_GO_PATH:-${PWD}/${NXT_BUILD_DIR}/${NXT_GO}}
NXT_GO_PKG=nginx/unit
diff --git a/test/unit/applications/lang/go.py b/test/unit/applications/lang/go.py
index b1da8071..7212a95c 100644
--- a/test/unit/applications/lang/go.py
+++ b/test/unit/applications/lang/go.py
@@ -23,7 +23,7 @@ class TestApplicationGo(TestApplicationProto):
os.mkdir(self.testdir + '/go')
env = os.environ.copy()
- env['GOPATH'] = self.pardir + '/go'
+ env['GOPATH'] = self.pardir + '/build/go'
try:
process = Popen(