aboutsummaryrefslogtreecommitdiff
path: root/extra/go
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-08-11 15:25:25 +0300
committerCem Keylan <cem@ckyln.com>2020-08-11 15:25:25 +0300
commitf95d5f68305bd2ba70b417a25cfad27d13f6a6a5 (patch)
tree0eadc41b99b296114666521e3d543e89e56664f6 /extra/go
parentb75bdd93c88cbf1f2b7ef065b07d0ca9842d3987 (diff)
downloadrepository-f95d5f68305bd2ba70b417a25cfad27d13f6a6a5.tar.gz
go: fix build
Diffstat (limited to 'extra/go')
-rwxr-xr-xextra/go/build4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/go/build b/extra/go/build
index 35689e51..bb6ce565 100755
--- a/extra/go/build
+++ b/extra/go/build
@@ -8,7 +8,7 @@ export CC="${CC:-cc}"
export GOARCH=amd64
export GO_LDFLAGS="-w -s"
-[ -f "$KISS_ROOT/var/db/kiss/installed/go/manifest" ] || {
+[ -f "$CPT_ROOT/var/db/cpt/installed/go/manifest" ] || {
export GOROOT=$PWD/go1.4-bootstrap
export GOROOT_FINAL=$PWD/lib/go-bootstrap
@@ -23,7 +23,7 @@ export GO_LDFLAGS="-w -s"
export GOROOT_FINAL=/usr/lib/go
-if [ -f "$KISS_ROOT/var/db/kiss/go/manifest" ]; then
+if [ -f "$CPT_ROOT/var/db/cpt/go/manifest" ]; then
export GOROOT_BOOTSTRAP=/usr/lib/go
else
export GOROOT_BOOTSTRAP=$PWD/lib/go-bootstrap