summaryrefslogtreecommitdiff
path: root/databases/mongodb70/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mongodb70/files')
-rwxr-xr-xdatabases/mongodb70/files/make.test.sh4
-rw-r--r--databases/mongodb70/files/patch-SConstruct8
2 files changed, 5 insertions, 7 deletions
diff --git a/databases/mongodb70/files/make.test.sh b/databases/mongodb70/files/make.test.sh
index 3d74258a446a..c42bb1973e6b 100755
--- a/databases/mongodb70/files/make.test.sh
+++ b/databases/mongodb70/files/make.test.sh
@@ -18,8 +18,8 @@ DBDIR=$( mktemp -d -t tmp.mongodb )
trap 'rm -rf "$DBDIR"' EXIT
# Trivial check if the binaries execute at all.
-mongod -version
-mongos -version
+mongod --version
+mongos --version
# Check if an empty database can be created.
mkdir "$DBDIR/db"
diff --git a/databases/mongodb70/files/patch-SConstruct b/databases/mongodb70/files/patch-SConstruct
index 816aa6946300..4ccd299adcaf 100644
--- a/databases/mongodb70/files/patch-SConstruct
+++ b/databases/mongodb70/files/patch-SConstruct
@@ -29,12 +29,10 @@
print(env_vars.GenerateHelpText(env))
Exit(0)
--unknown_vars = env_vars.UnknownVariables()
--if unknown_vars:
+ unknown_vars = env_vars.UnknownVariables()
+ if unknown_vars:
- env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
-+#unknown_vars = env_vars.UnknownVariables()
-+#if unknown_vars:
-+# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
++ print("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
install_actions.setup(env, get_option('install-action'))