summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/kmod/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kmod/package.py b/var/spack/repos/builtin/packages/kmod/package.py
index 5014e769cc..d455b302b5 100644
--- a/var/spack/repos/builtin/packages/kmod/package.py
+++ b/var/spack/repos/builtin/packages/kmod/package.py
@@ -28,3 +28,9 @@ class Kmod(AutotoolsPackage):
def autoreconf(self, spec, prefix):
bash = which("bash")
bash('autogen.sh')
+
+ def configure_args(self):
+ args = ["--with-bashcompletiondir=" +
+ join_path(self.spec['kmod'].prefix, 'share',
+ 'bash-completion', 'completions')]
+ return args