Skip to content

Commit 2c73ace

Browse files
authored
chore(script): use GOPATH variable instead of hardcoded path
1 parent 8bc63f0 commit 2c73ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version=$(git rev-parse HEAD)
1414
describe=$(git describe --tags --always --dirty)
1515

1616
export GOPATH="$PWD/.gopath"
17-
cd .gopath/src/github.com/github/gh-ost
17+
cd "$GOPATH/src/github.com/github/gh-ost"
1818

1919
# We put the binaries directly into the bindir, because we have no need for shim wrappers
2020
go build -o "$bindir/gh-ost" -ldflags "-X main.AppVersion=${version} -X main.BuildDescribe=${describe}" ./go/cmd/gh-ost/main.go

0 commit comments

Comments
 (0)