summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2008-07-29 15:33:44 +0100
committerTony Garnock-Jones <tonyg@lshift.net>2008-07-29 15:33:44 +0100
commit6e59166e654530dac9a7405472320fbb6acf3f96 (patch)
treecf5cc3245ed7669b959afaec651db97d2be9c33b /scripts
parent69343cabca04730eddde587f02cfb84c908f0411 (diff)
downloadrabbitmq-server-6e59166e654530dac9a7405472320fbb6acf3f96.tar.gz
Use dirname $0 consistently to find the ebin dir.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rabbitmq-multi2
-rwxr-xr-xscripts/rabbitmq-server2
-rwxr-xr-xscripts/rabbitmqctl2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/rabbitmq-multi b/scripts/rabbitmq-multi
index 4709ca0b..5e4f4b38 100755
--- a/scripts/rabbitmq-multi
+++ b/scripts/rabbitmq-multi
@@ -36,7 +36,7 @@ SCRIPT_HOME=$(dirname $0)
export NODENAME NODE_IP_ADDRESS NODE_PORT SCRIPT_HOME PIDS_FILE
exec erl \
- -pa ../ebin \
+ -pa "`dirname $0`/../ebin" \
-noinput \
-hidden \
${ERL_ARGS} \
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server
index a44dd6da..e5fb93cc 100755
--- a/scripts/rabbitmq-server
+++ b/scripts/rabbitmq-server
@@ -51,7 +51,7 @@ else
fi
erl \
- -pa $(dirname $0)/../ebin \
+ -pa "`dirname $0`/../ebin" \
${START_RABBIT} \
-sname ${NODENAME} \
-boot start_sasl \
diff --git a/scripts/rabbitmqctl b/scripts/rabbitmqctl
index eb359dad..419dcf63 100755
--- a/scripts/rabbitmqctl
+++ b/scripts/rabbitmqctl
@@ -31,7 +31,7 @@ ERL_ARGS=
MNESIA_DIR=${MNESIA_BASE}/${NODENAME}
exec erl \
- -pa ../ebin \
+ -pa "`dirname $0`/../ebin" \
-noinput \
-hidden \
${ERL_ARGS} \