Commit 0faaac49 by Celine Mercier

The taxonomy directory of the DMS is now automatically created with the

DMS
parent 1b07109e
......@@ -282,7 +282,7 @@ OBIDMS_p obi_create_dms(const char* dms_path)
if (mkdirat(dms_file_descriptor, INDEXER_DIR_NAME, 00777) < 0)
{
obi_set_errno(OBI_INDEXER_ERROR);
obidebug(1, "\nProblem creating an indexer directory");
obidebug(1, "\nProblem creating the indexer directory");
return NULL;
}
......@@ -290,7 +290,15 @@ OBIDMS_p obi_create_dms(const char* dms_path)
if (mkdirat(dms_file_descriptor, VIEW_DIR_NAME, 00777) < 0)
{
obi_set_errno(OBIVIEW_ERROR);
obidebug(1, "\nProblem creating a view directory");
obidebug(1, "\nProblem creating the view directory");
return NULL;
}
// Create the taxonomy directory
if (mkdirat(dms_file_descriptor, TAXONOMY_DIR_NAME, 00777) < 0)
{
obi_set_errno(OBIVIEW_ERROR);
obidebug(1, "\nProblem creating the taxonomy directory");
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment