summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/standalone/src/rabbit_release.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/standalone/src/rabbit_release.erl b/packaging/standalone/src/rabbit_release.erl
index 03b1813398..26f36d6861 100644
--- a/packaging/standalone/src/rabbit_release.erl
+++ b/packaging/standalone/src/rabbit_release.erl
@@ -37,12 +37,12 @@ start() ->
%% extract the plugins so we can load their apps later
prepare_plugins(PluginsDistDir, UnpackedPluginDir),
- PluginAppNames = [P#plugin.name ||
- P <- rabbit_plugins:list(PluginsDistDir)],
-
%% add the plugin ebin folder to the code path.
add_plugins_to_path(UnpackedPluginDir),
+ PluginAppNames = [P#plugin.name ||
+ P <- rabbit_plugins:list(PluginsDistDir)],
+
%% Build the entire set of dependencies - this will load the
%% applications along the way
AllApps = case catch sets:to_list(expand_dependencies(PluginAppNames)) of