softwarecontainer
softwarecontainer copied to clipboard
CMake Bug in CMakeLists.txt
In CMakeLists.txt, there are three calls of add_string_config, for example:
add_string_config(${SC_CONFIG_GROUP}
DEFAULT_SERVICE_MANIFEST_DIR
"${SYS_CONFIG_DIR}/service-manifest.default.d/"
"${SYS_CONFIG_DIR}/service-manifest.default.d/")
However, variable SYS_CONFIG_DIR is defined with a trailing slash, leading to double slash issue in add_string_config:
SET(SYS_CONFIG_DIR ${CMAKE_INSTALL_FULL_SYSCONFDIR}/softwarecontainer/)
I think this issue will help improve your project!