aboutsummaryrefslogtreecommitdiff
path: root/extra/go
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-11-09 10:47:38 +0100
committerCem Keylan <cem@ckyln.com>2021-11-09 10:47:38 +0100
commit86a8394c06c1301341320a4fb6e5f4c268be9e05 (patch)
tree2ea5bdb5826457b94136469bad20a1a32ac76eee /extra/go
parent6c5e2e8f8e1014758414efc4aa136f670906a9ad (diff)
downloadrepository-86a8394c06c1301341320a4fb6e5f4c268be9e05.tar.gz
go: fix shellcheck error
Diffstat (limited to 'extra/go')
-rwxr-xr-xextra/go/build8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/go/build b/extra/go/build
index c051bc2d..6c394266 100755
--- a/extra/go/build
+++ b/extra/go/build
@@ -12,8 +12,8 @@ export GOARCH=amd64
export GO_LDFLAGS="-w -s"
[ -f "$CPT_ROOT/var/db/cpt/installed/go/manifest" ] || {
- export GOROOT=$PWD/go1.4-bootstrap
- export GOROOT_FINAL=$PWD/lib/go-bootstrap
+ export GOROOT="$PWD/go1.4-bootstrap"
+ export GOROOT_FINAL="$PWD/lib/go-bootstrap"
mkdir -p lib/go-bootstrap
@@ -29,10 +29,10 @@ export GOROOT_FINAL=/usr/lib/go
if [ -f "$CPT_ROOT/var/db/cpt/go/manifest" ]; then
export GOROOT_BOOTSTRAP=/usr/lib/go
else
- export GOROOT_BOOTSTRAP=$PWD/lib/go-bootstrap
+ export GOROOT_BOOTSTRAP="$PWD/lib/go-bootstrap"
fi
-export GOROOT=$PWD/go-current
+export GOROOT="$PWD/go-current"
(
cd "$GOROOT/src"