mongo-tools-3.0.12-build.patch 626 B

12345678910
  1. --- a/build.sh 2016-04-29 20:14:54.000000000 +0200
  2. +++ b/build.sh 2016-05-17 17:22:50.830113156 +0200
  3. @@ -19,5 +19,5 @@
  4. for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog; do
  5. echo "Building ${i}..."
  6. # Build the tool, using -ldflags to link in the current gitspec
  7. - 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"
  8. + go build -o "bin/$i" -tags "$tags" "$i/main/$i.go" || exit 1
  9. done