mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/xl: use proper name for bash_completion file
Files in the bash-completion dirs should be named like the commands,
without suffix. Without this change 'xl' will not be recognized as a
command with completion support if BASH_COMPLETION_DIR is set to
/usr/share/bash-completion/completions.
Fixes: 9136a919b ("xl: Add basic bash completion for xl command.")
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
a40deb3acb
commit
bb9afb7a46
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -45,11 +45,11 @@ install: all
|
||||
$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
||||
$(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR)
|
||||
$(INSTALL_PROG) xl $(DESTDIR)$(sbindir)
|
||||
$(INSTALL_DATA) bash-completion $(DESTDIR)$(BASH_COMPLETION_DIR)/xl.sh
|
||||
$(INSTALL_DATA) bash-completion $(DESTDIR)$(BASH_COMPLETION_DIR)/xl
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(BASH_COMPLETION_DIR)/xl.sh
|
||||
rm -f $(DESTDIR)$(BASH_COMPLETION_DIR)/xl
|
||||
rm -f $(DESTDIR)$(sbindir)/xl
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copy this file to /etc/bash_completion.d/xl.sh
|
||||
# Copy this file to /etc/bash_completion.d/xl
|
||||
|
||||
_xl()
|
||||
{
|
||||
|
||||