Merge pull request #11 from rabbitmq/fix-schema

Revert commit 0dde05a6d
This commit is contained in:
Michael Klishin 2017-06-15 16:41:25 +03:00 committed by GitHub
commit a65e804a55
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
init_schemas(App, Config) ->
DepsDir = ?config(erlang_mk_depsdir, Config),
% Note: the schema for the rabbit app is named "rabbitmq.schema"
RabbitSchema = find_app_schema(rabbitmq, DepsDir),
RabbitSchema = filename:join([DepsDir, "rabbit", "priv", "schema", "rabbitmq.schema"]),
Schemas = case App of
rabbit -> [RabbitSchema];
_ -> [RabbitSchema, find_app_schema(App, DepsDir)]