summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-05-23 12:22:21 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-05-23 12:22:21 +0100
commit896bbde667ba9cf95bb1a541523b026de2db3c4b (patch)
treed571ff33a7dcd702d2c2867b881370245000aa2d
parente07b068097786ffcd59e48f38c80b0c9d849853e (diff)
downloadrabbitmq-server-git-896bbde667ba9cf95bb1a541523b026de2db3c4b.tar.gz
Introduce variable
-rw-r--r--src/rabbit_prelaunch.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_prelaunch.erl b/src/rabbit_prelaunch.erl
index 8ae86848e4..1dbff8c6cd 100644
--- a/src/rabbit_prelaunch.erl
+++ b/src/rabbit_prelaunch.erl
@@ -69,11 +69,13 @@ start() ->
%% Write it out to $RABBITMQ_PLUGINS_EXPAND_DIR/rabbit.rel
rabbit_misc:write_file(RootName ++ ".rel", io_lib:format("~p.~n", [RDesc])),
+ %% We exclude mochiweb due to its optional use of fdsrv.
+ Exclude = [mochiweb],
+
%% Compile the script
ScriptFile = RootName ++ ".script",
- %% We exclude mochiweb due to its optional use of fdsrv.
case systools:make_script(RootName, [local, silent,
- {exref, AllApps -- [mochiweb]}]) of
+ {exref, AllApps -- Exclude}]) of
{ok, Module, Warnings} ->
%% This gets lots of spurious no-source warnings when we
%% have .ez files, so we want to supress them to prevent