summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-multi
diff options
context:
space:
mode:
authorSimon MacMullen <simon@lshift.net>2009-02-16 15:30:15 +0000
committerSimon MacMullen <simon@lshift.net>2009-02-16 15:30:15 +0000
commit10b62f0e2f1cd8f6ea78e0004ac313f4ca4738d6 (patch)
tree2f07891da7fe77a8e8a81e4d1604bc36a6d77224 /scripts/rabbitmq-multi
parent4d18aa99092367891529bb27fb290703e5b1aed9 (diff)
downloadrabbitmq-server-bug20345.tar.gz
prevent unwanted path expansionbug20345
Diffstat (limited to 'scripts/rabbitmq-multi')
-rwxr-xr-xscripts/rabbitmq-multi5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rabbitmq-multi b/scripts/rabbitmq-multi
index 84985e90..164c5e18 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 \