From 64d9405597387f8a3fcd81e27b861655134b4c6a Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Mon, 23 May 2011 12:22:21 +0100 Subject: Introduce variable --- src/rabbit_prelaunch.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rabbit_prelaunch.erl b/src/rabbit_prelaunch.erl index 8ae86848..1dbff8c6 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 -- cgit v1.2.1