Merge pull request #141 from triddell/master

build: add equals sign to avoid link warning when building project
This commit is contained in:
bobbyrullo 2015-09-29 14:50:49 -07:00
commit 05adce3e93

2
build
View file

@ -22,7 +22,7 @@ rm -rf $GOPATH/src/github.com/coreos/dex
mkdir -p $GOPATH/src/github.com/coreos/
ln -s ${PWD} $GOPATH/src/github.com/coreos/dex
LD_FLAGS="-X main.version $(git rev-parse HEAD)"
LD_FLAGS="-X main.version=$(git rev-parse HEAD)"
go build -o bin/dex-worker -ldflags="$LD_FLAGS" github.com/coreos/dex/cmd/dex-worker
go build -o bin/dexctl github.com/coreos/dex/cmd/dexctl
go build -o bin/dex-overlord -ldflags="$LD_FLAGS" github.com/coreos/dex/cmd/dex-overlord