summaryrefslogtreecommitdiff
diff options
authorTed Gould <ted@gould.cx>2016-08-30 21:45:27 -0500
committerTed Gould <ted@gould.cx>2016-08-30 21:45:27 -0500
commitd709315c38a64df6af86cc3cd6aa9f65fa749957 (patch)
tree200e2706cde708875acd718e9794db7f46b641c8
parent501acec6a635e23f587b24b1527ec909ce6c3b40 (diff)
Ensure the profile select tool works
(bzr r4153.9.30)
-rw-r--r--tools/CMakeLists.txt2
-rwxr-xr-xtools/unity-compiz-profile-select.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index cd2eb0c91..361fbe590 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -30,4 +30,4 @@ target_link_libraries(unity-active-plugins-safety-check ${LIBS})
install(TARGETS unity-active-plugins-safety-check DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/)
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/unity-compiz-profile-select.in ${CMAKE_CURRENT_BINARY_DIR}/unity-compiz-profile-select @ONLY)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/unity-compiz-profile-select DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/)
+install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/unity-compiz-profile-select DESTINATION ${CMAKE_INSTALL_LIBDIR}/unity/)
diff --git a/tools/unity-compiz-profile-select.in b/tools/unity-compiz-profile-select.in
index e3ab7e59c..70f56ff7b 100755
--- a/tools/unity-compiz-profile-select.in
+++ b/tools/unity-compiz-profile-select.in
@@ -22,4 +22,4 @@ initctl set-env -g COMPIZ_CONFIG_PROFILE="$compiz_profile"
systemctl set-environment --user COMPIZ_CONFIG_PROFILE="$compiz_profile"
export COMPIZ_CONFIG_PROFILE="$compiz_profile"
-exec @CMAKE_INSTALL_LIBDIR@/unity/unity-active-plugins-safety-check
+exec @CMAKE_INSTALL_FULL_LIBDIR@/unity/unity-active-plugins-safety-check