From 2c73acee4a8c865a8a98b564420ac3d40f13fb4d Mon Sep 17 00:00:00 2001 From: Ocheretovich Date: Fri, 3 Apr 2026 12:29:50 +0300 Subject: [PATCH] chore(script): use GOPATH variable instead of hardcoded path --- script/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build b/script/build index 24be5d17f..4cdd21d7e 100755 --- a/script/build +++ b/script/build @@ -14,7 +14,7 @@ version=$(git rev-parse HEAD) describe=$(git describe --tags --always --dirty) export GOPATH="$PWD/.gopath" -cd .gopath/src/github.com/github/gh-ost +cd "$GOPATH/src/github.com/github/gh-ost" # We put the binaries directly into the bindir, because we have no need for shim wrappers go build -o "$bindir/gh-ost" -ldflags "-X main.AppVersion=${version} -X main.BuildDescribe=${describe}" ./go/cmd/gh-ost/main.go