build: fixup - comment explaining guard in front of ln
This commit is contained in:
parent
1e037a9a7c
commit
39ee1871e4
1 changed files with 2 additions and 0 deletions
2
build
2
build
|
@ -20,6 +20,8 @@ fi
|
||||||
|
|
||||||
rm -rf $GOPATH/src/github.com/coreos/dex
|
rm -rf $GOPATH/src/github.com/coreos/dex
|
||||||
mkdir -p $GOPATH/src/github.com/coreos/
|
mkdir -p $GOPATH/src/github.com/coreos/
|
||||||
|
|
||||||
|
# Only attempt to link dex into godeps if it isn't already there
|
||||||
[ -d $GOPATH/src/github.com/coreos/dex ] || ln -s ${PWD} $GOPATH/src/github.com/coreos/dex
|
[ -d $GOPATH/src/github.com/coreos/dex ] || 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)"
|
||||||
|
|
Reference in a new issue