From f95d5f68305bd2ba70b417a25cfad27d13f6a6a5 Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Tue, 11 Aug 2020 15:25:25 +0300
Subject: go: fix build

---
 extra/go/build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'extra/go')

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
-- 
cgit v1.2.3