Skip to content

Commit

Permalink
BareosInstallConfigFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Sep 5, 2018
1 parent a30ab8f commit 6d54692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cmake/BareosInstallConfigFiles.cmake
Expand Up @@ -23,7 +23,7 @@ MACRO(BareosInstallConfigFiles CONFDIR CONFIGBASEDIRECTORY PLUGINS BACKENDS SRC_

MESSAGE(STATUS "BareosInstallConfigFiles called with CONFDIR:${CONFDIR} CONFIGBASEDIRECTORY:${CONFIGBASEDIRECTORY} PLUGINS:${PLUGINS} BACKENDS:${BACKENDS} SRC_DIR:${SRC_DIR}")

set (DESTCONFDIR "$ENV{DESTDIR}/${CONFDIR}/${CONFIGBASEDIRECTORY}/")
set (DESTCONFDIR "$ENV{DESTDIR}/${CONFDIR}/${CONFIGBASEDIRECTORY}")
MESSAGE(STATUS "installing configuration ${CONFIGBASEDIRECTORY} resource files to ${DESTCONFDIR}")

MESSAGE(STATUS "globbing ${SRC_DIR}/src/defaultconfigs/${CONFIGBASEDIRECTORY}/*")
Expand All @@ -47,7 +47,7 @@ endforeach()

# add bareos-dir-export for bareos-dir
if (${CONFIGBASEDIRECTORY} STREQUAL "bareos-dir.d")
file(MAKE_DIRECTORY "${DESTCONFDIR}/../bareos-dir-export/client/")
file(MAKE_DIRECTORY "${DESTCONFDIR}/../bareos-dir-export/client")
file(MAKE_DIRECTORY "${DESTCONFDIR}/counter")
endif()

Expand Down

0 comments on commit 6d54692

Please sign in to comment.