summaryrefslogtreecommitdiff
blob: 33cad2b9c7fc2e02e15e9b1c6ae9d1c90b70018a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/resources/templates/CMakeLists.txt
+++ b/resources/templates/CMakeLists.txt
@@ -5,7 +5,7 @@ ${CMAKE_SOURCE_DIR}/scribus
 
 # Gentoo has an option for no templates. Let's make the ebuild simpler and open up the option to others, but leave as a default for us. Make the directory in any case as our source will look for it.
 if (WANT_NOTEMPLATES)
-  install(CODE "file(MAKE_DIRECTORY ${ENV}${CMAKE_INSTALL_PREFIX}/${TEMPLATEDIR})")
+  install(CODE "file(MAKE_DIRECTORY ${ENV}./${CMAKE_INSTALL_PREFIX}/${TEMPLATEDIR})")
 else (WANT_NOTEMPLATES)
 
 install(FILES