diff options
-rw-r--r-- | var/spack/repos/builtin/packages/git/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py index f0f3bfc6ba..24657e54dc 100644 --- a/var/spack/repos/builtin/packages/git/package.py +++ b/var/spack/repos/builtin/packages/git/package.py @@ -24,6 +24,7 @@ ############################################################################## import sys from spack import * +from distutils.dir_util import copy_tree class Git(AutotoolsPackage): @@ -167,6 +168,10 @@ class Git(AutotoolsPackage): filter_file(r' -lrt$', '', 'Makefile') @run_after('install') + def install_completions(self): + copy_tree('contrib/completion', self.prefix.share) + + @run_after('install') def install_manpages(self): prefix = self.prefix |