[lxc-devel] [lxc/stable-2.0] BASH Completions rename not fully propagated
MollyJoBault on Github
lxc-bot at linuxcontainers.org
Fri May 18 16:36:22 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 937 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180518/8048f3f9/attachment.bin>
-------------- next part --------------
From 843691cad43d791da0eb07740730323f32f6c16f Mon Sep 17 00:00:00 2001
From: Molly Jo Bault <Molly.Jo.Bault at astronics.com>
Date: Fri, 18 May 2018 09:26:01 -0700
Subject: [PATCH] fixed_bash_completions_for_rpm
---
configure.ac | 2 +-
lxc.spec.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 218e93108..894bcb402 100644
--- a/configure.ac
+++ b/configure.ac
@@ -494,7 +494,7 @@ AM_CONDITIONAL([ENABLE_BASH], [test "x$enable_bash" = "xyes"])
AM_COND_IF([ENABLE_BASH],
[AC_MSG_CHECKING([bash completion directory])
PKG_CHECK_VAR(bashcompdir, [bash-completion], [completionsdir], ,
- bashcompdir="${sysconfdir}/bash_completion.d")
+ bashcompdir="/usr/share/bash-completion/completions")
AC_MSG_RESULT([$bashcompdir])
AC_SUBST(bashcompdir)
])
diff --git a/lxc.spec.in b/lxc.spec.in
index 0e64907e0..d34b491a8 100644
--- a/lxc.spec.in
+++ b/lxc.spec.in
@@ -251,7 +251,7 @@ fi
%endif
%{_datadir}/doc/*
%{_datadir}/lxc/*
-%{_sysconfdir}/bash_completion.d
+%{_usr}/share/bash-completion/completions/*
%config(noreplace) %{_sysconfdir}/lxc/*
%config(noreplace) %{_sysconfdir}/sysconfig/*
More information about the lxc-devel
mailing list