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.0.0-build.patch

11 lines
528 B

--- build.sh.orig 2015-02-17 16:55:47.000000000 +0000
+++ build.sh 2015-02-18 09:22:30.671123198 +0000
@@ -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`" -tags "$tags" "$i/main/$i.go"
+ go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"
done