The taxonomy directory of the DMS is now automatically created with the
DMS
This commit is contained in:
12
src/obidms.c
12
src/obidms.c
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user