1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Jordan Justen <jordan.l.justen@intel.com>
Date: Fri, 21 Feb 2020 15:54:15 -0800
Subject: bash-completion: Fix install directory
The bash completions were being installed to
/usr/usr/share/bash-completion/completions/piglit.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 925bd56..4dd1580 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -568,7 +568,7 @@ install (
if (BASH_COMPLETION_FOUND)
install(
FILES completions/bash/piglit
- DESTINATION ${CMAKE_INSTALL_PREFIX}/${BASH_COMPLETION_COMPLETIONSDIR}/
+ DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR}
)
endif (BASH_COMPLETION_FOUND)
|