Skip to content

Commit 532c99c

Browse files
committed
Only ignore tailing ~ when packing the tarball
1 parent 436ac50 commit 532c99c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5074,7 +5074,7 @@ set(CPACK_GIT_COMMIT_DATE ${GIT_COMMIT_DATE})
50745074
# Detailed version information, git info and package file name are set from
50755075
# CPackConfig.cmake, not here.
50765076

5077-
set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~;\\\\.o$")
5077+
set(CPACK_SOURCE_IGNORE_FILES "\\\\.#;/#;.*~$;\\\\.o$")
50785078
list(APPEND CPACK_SOURCE_IGNORE_FILES "/\\\\.git/")
50795079
list(APPEND CPACK_SOURCE_IGNORE_FILES "/\\\\.github/")
50805080
list(APPEND CPACK_SOURCE_IGNORE_FILES "/build/")

0 commit comments

Comments
 (0)