diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2008-12-09 12:03:50 +0000 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2008-12-09 12:03:50 +0000 |
commit | 8bc7c18336f5160c1322562b24a8e3d0dfd4bb88 (patch) | |
tree | 147c85c27348903f5a1570708b03d239420f3cf6 | |
parent | 4e1d6e006ca49f60324c17bf21f84e65822c46b4 (diff) | |
download | rabbitmq-server-8bc7c18336f5160c1322562b24a8e3d0dfd4bb88.tar.gz |
Fix a couple of Makefile variable references (important to make cleandb non-dangerous!)
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ SIBLING_CODEGEN_DIR=../rabbitmq-codegen/ AMQP_CODEGEN_DIR=$(shell [ -d $(SIBLING_CODEGEN_DIR) ] && echo $(SIBLING_CODEGEN_DIR) || echo codegen) AMQP_SPEC_JSON_PATH=$(AMQP_CODEGEN_DIR)/amqp-0.8.json -ERL_CALL=erl_call -sname $(NODENAME) -e +ERL_CALL=erl_call -sname $(RABBITMQ_NODENAME) -e # for the moment we don't use boot files because they introduce a # dependency on particular versions of OTP applications @@ -58,7 +58,7 @@ clean: cleandb rm -f docs/*.[0-9].gz cleandb: stop-node - erl -mnesia dir '"$(MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*")), halt().' + erl -mnesia dir '"$(RABBITMQ_MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*")), halt().' ############ various tasks to interact with RabbitMQ ################### |