diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch')
-rw-r--r-- | app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch b/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch new file mode 100644 index 000000000000..f7fd93b04a51 --- /dev/null +++ b/app-admin/mongo-tools/files/mongo-tools-3.0.0-build.patch @@ -0,0 +1,10 @@ +--- 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 + |