summaryrefslogtreecommitdiff
blob: 31d94dd65cade1bfceaadc0eea30e991a8b2a96b (plain)
1
2
3
4
5
6
7
8
9
--- a/build.sh	2016-04-21 17:31:22.156178084 +0200
+++ b/build.sh	2016-04-21 17:32:07.723421116 +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"
 done