From a5dffbbeeb2a9f24763d50cd23a7b9d0a585d097 Mon Sep 17 00:00:00 2001 From: alexhudson Date: Tue, 18 Aug 2009 15:57:39 +0000 Subject: [PATCH] Install perms fixes. --- src/apps/queuetool/CMakeLists.txt | 2 +- src/apps/storetool/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/queuetool/CMakeLists.txt b/src/apps/queuetool/CMakeLists.txt index 71cb14c..1ea03b3 100644 --- a/src/apps/queuetool/CMakeLists.txt +++ b/src/apps/queuetool/CMakeLists.txt @@ -1,2 +1,2 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bongo-queuetool ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool DESTINATION ${SBIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bongo-queuetool DESTINATION ${SBIN_INSTALL_DIR}) diff --git a/src/apps/storetool/CMakeLists.txt b/src/apps/storetool/CMakeLists.txt index bcc9e5b..65ec562 100644 --- a/src/apps/storetool/CMakeLists.txt +++ b/src/apps/storetool/CMakeLists.txt @@ -5,4 +5,5 @@ install(DIRECTORY ./bongo ) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bongo-storetool.py ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool DESTINATION ${SBIN_INSTALL_DIR} PERMISSIONS WORLD_EXECUTE) +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bongo-storetool DESTINATION +${SBIN_INSTALL_DIR})