summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-02-06 14:20:11 +0000
committerMatthias Radestock <matthias@lshift.net>2009-02-06 14:20:11 +0000
commit3d469c9699845fefba18dfeae58a09c77b11e167 (patch)
treedfa32a061878236424fe5a116119dc1d9280f8ea
parentcedc376ef469b2c9b8350d34fcea4dc17867b2a0 (diff)
downloadrabbitmq-server-git-3d469c9699845fefba18dfeae58a09c77b11e167.tar.gz
also prevent path expansion in rabbit-multi
-rwxr-xr-xscripts/rabbitmq-multi5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rabbitmq-multi b/scripts/rabbitmq-multi
index 84985e900f..164c5e187c 100755
--- a/scripts/rabbitmq-multi
+++ b/scripts/rabbitmq-multi
@@ -54,6 +54,11 @@ export \
RABBITMQ_SCRIPT_HOME \
RABBITMQ_PIDS_FILE
+# we need to turn off path expansion because some of the vars, notably
+# RABBITMQ_MULTI_ERL_ARGS, may contain terms that look like globs and
+# there is no other way of preventing their expansion.
+set -f
+
exec erl \
-pa "`dirname $0`/../ebin" \
-noinput \