diff options
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 + |