summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-25 15:52:32 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-25 15:55:59 (GMT)
commit4fa1755315860eb4103971be0d950812b27a85c2 (patch)
tree9272bb0516d13a108a3b38a072ec3ae400d0f111 /Tests/CPackComponentsDEB
parentb761e90d70435ce55d5e69addfb90ffcd18bd652 (diff)
downloadCMake-4fa1755315860eb4103971be0d950812b27a85c2.zip
CMake-4fa1755315860eb4103971be0d950812b27a85c2.tar.gz
CMake-4fa1755315860eb4103971be0d950812b27a85c2.tar.bz2
Revert topic 'cpack-package-empty-dirs'
The changes in commit 47b060ae (CPackDeb: allow empty directories in component packages, 2015-09-21), commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-21), and commit b761e90d (CPack: remove accidental changes, 2015-09-22) regressed packaging of CMake itself. Revert the changes until they can be revised and rebased on other changes that make additional fixes.
Diffstat (limited to 'Tests/CPackComponentsDEB')
-rw-r--r--Tests/CPackComponentsDEB/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CPackComponentsDEB/CMakeLists.txt b/Tests/CPackComponentsDEB/CMakeLists.txt
index 093b23f..98ed911 100644
--- a/Tests/CPackComponentsDEB/CMakeLists.txt
+++ b/Tests/CPackComponentsDEB/CMakeLists.txt
@@ -110,8 +110,9 @@ install(FILES ${CPackComponentsDEB_BINARY_DIR}/symtest
if(EXISTS "./dirtest")
execute_process(COMMAND ${CMAKE_COMMAND} -E remove_directory ./dirtest)
endif()
-# NOTE: directory left empty on purpose
execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ./dirtest)
+# BUG: apparently cannot add an empty directory
+execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ../mylibapp ./dirtest/symtest)
# NOTE: we should not add the trailing "/" to dirtest
install(DIRECTORY ${CPackComponentsDEB_BINARY_DIR}/dirtest
DESTINATION bin/