1
0
Fork 0

Add trailing slash for safety.

This commit is contained in:
Willi Goesgens 2015-01-21 09:35:51 +01:00
parent 611d7648c7
commit dabd986fcc
1 changed files with 2 additions and 2 deletions

View File

@ -183,8 +183,8 @@ if (USE_RELATIVE)
### @brief SYSTEM CONFIGURATION DIRECTORY (/etc)
################################################################################
set(ETCDIR_NATIVE "./etc/relative")
set(ETCDIR_INSTALL "etc/relative")
set(ETCDIR_NATIVE "./etc/relative/")
set(ETCDIR_INSTALL "etc/relative/")
file(TO_NATIVE_PATH "${ETCDIR_NATIVE}" ETCDIR_NATIVE)
STRING(REGEX REPLACE "\\\\" "\\\\\\\\" ETCDIR_ESCAPED "${ETCDIR_NATIVE}")