Commit cad8c94e authored by James's avatar James Committed by GitHub

🐛 re-order checkout so it's in the correct spot

parent a2b09e7f
......@@ -29,8 +29,8 @@ class Mongodb < Package
def self.build
# prepare mongo-tools
system "git clone https://github.com/mongodb/mongo-tools"
system "git checkout tags/r3.2.16"
system "cd mongo-tools; ./build.sh ssl || echo '***YOU NEED TO SET UP GO ENVIRONMENT IN ORDER TO COMPILE MONGO-TOOLS***'"
system "cd mongo-tools; git checkout tags/r3.2.16; ./build.sh ssl || echo '***YOU NEED TO SET UP GO ENVIRONMENT IN ORDER TO COMPILE
MONGO-TOOLS***'"
system "mkdir src/mongo-tools"
system "cp mongo-tools/bin/* src/mongo-tools/"
system "rm -rf mongo-tools"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment