build: fixup - comment explaining guard in front of ln

This commit is contained in:
Joe Bowers 2015-10-16 16:49:27 -07:00
parent 1e037a9a7c
commit 39ee1871e4

2
build
View file

@ -20,6 +20,8 @@ fi
rm -rf $GOPATH/src/github.com/coreos/dex
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
LD_FLAGS="-X main.version=$(git rev-parse HEAD)"