File: 0001-bash-completion-Fix-install-directory.patch

package info (click to toggle)
piglit 0~git20220119-124bca3c9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 109,012 kB
  • sloc: ansic: 273,511; xml: 46,666; python: 33,098; lisp: 20,392; cpp: 12,480; sh: 22; makefile: 22; pascal: 5
file content (25 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
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)