12345678910 |
- --- a/build.sh 2016-04-29 20:14:54.000000000 +0200
- +++ b/build.sh 2016-05-17 17:22:50.830113156 +0200
- @@ -19,5 +19,5 @@
- for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
- echo "Building ${i}..."
- # Build the tool, using -ldflags to link in the current gitspec
- - go build -o "bin/$i" -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec=`git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr=$(git describe)" -tags "$tags" "$i/main/$i.go"
- + go build -o "bin/$i" -tags "$tags" "$i/main/$i.go" || exit 1
- done
|