kmod: add --with-bashcompletiondir option (#22167)

This commit is contained in:
Tomoyasu Nojiri
2021-03-08 18:21:15 +09:00
committed by GitHub
parent 90ace2d0ec
commit c25a723d74

View File

@@ -28,3 +28,9 @@ class Kmod(AutotoolsPackage):
def autoreconf(self, spec, prefix): def autoreconf(self, spec, prefix):
bash = which("bash") bash = which("bash")
bash('autogen.sh') bash('autogen.sh')
def configure_args(self):
args = ["--with-bashcompletiondir=" +
join_path(self.spec['kmod'].prefix, 'share',
'bash-completion', 'completions')]
return args