summaryrefslogtreecommitdiff
path: root/scripts/rabbitmqctl
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
commit872b6320b90f91e167f1b42a13d4e7ed2c83b4ee (patch)
treecf5cc3245ed7669b959afaec651db97d2be9c33b /scripts/rabbitmqctl
parent13befdbd5d0ed940a4b5640bbdff3ffff8922230 (diff)
downloadrabbitmq-server-git-872b6320b90f91e167f1b42a13d4e7ed2c83b4ee.tar.gz
Use dirname $0 consistently to find the ebin dir.
Diffstat (limited to 'scripts/rabbitmqctl')
-rwxr-xr-xscripts/rabbitmqctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rabbitmqctl b/scripts/rabbitmqctl
index eb359dad1f..419dcf632a 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} \