You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/mongo-tools/files/mongo-tools-3.2.5-build.patch

10 lines
609 B

--- 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