fix tar arguments
With the recent commit 9dd889636 new arguments for tar are used when generating tarballs of templates. And the files to be compressed are passed twice to tar:
-
{CMAKE_CURRENT_SOURCE_DIR}/
{_templateName} - .
The generated tarballs have a weird structure as shown on the screenshot. Files are included twice and some symlinks are generated. The template can not be read by kapptemplate or kdevelopp. This was tested with Gnu Tar 1.30 on Linux.
Just omitting {CMAKE_CURRENT_SOURCE_DIR}/
{_templateName} seems to fix the problem.