[PATCH 1/6] umr: Rename "scripts/umr" --> "scripts/umr-completion.bash"

Luben Tuikov luben.tuikov at amd.com
Wed Mar 23 11:48:37 UTC 2022


Rename to fall in line with completion scripts from other packages,
e.g. Git, however the completion file is still installed as "umr" into
the destination directory.

Cc: Alex Deucher <Alexander.Deucher at amd.com>
Cc: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Cc: Tom StDenis <tom.stdenis at amd.com>
Cc: Christian König <christian.koenig at amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
---
 scripts/{umr => umr-completion.bash} | 0
 src/app/CMakeLists.txt               | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename scripts/{umr => umr-completion.bash} (100%)

diff --git a/scripts/umr b/scripts/umr-completion.bash
similarity index 100%
rename from scripts/umr
rename to scripts/umr-completion.bash
diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
index 6d15d67e3c021b..5087467d70d6fe 100644
--- a/src/app/CMakeLists.txt
+++ b/src/app/CMakeLists.txt
@@ -77,5 +77,5 @@ endif()
 if(NOT BASH_COMPLETION_FOUND)
 	set(BASH_COMPLETION_COMPLETIONSDIR "/usr/share/bash-completion/completions")
 endif()
-install(FILES ../../scripts/umr DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR})
+install(FILES ../../scripts/umr-completion.bash DESTINATION ${BASH_COMPLETION_COMPLETIONSDIR} RENAME umr)
 install(DIRECTORY ../../database/ DESTINATION ${CMAKE_INSTALL_BINDIR}/../share/umr/database/)
-- 
2.35.1.607.gf01e51a7cf



More information about the amd-gfx mailing list