diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2021-12-23 01:07:49 -0800 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2022-01-12 06:14:18 -0800 |
commit | ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8 (patch) | |
tree | d245c96434508b819ce46ce1a709aa07449c0175 /var | |
parent | b6dde510bdeed7538d9f085edc7da09c8c95d976 (diff) | |
download | spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.gz spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.bz2 spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.tar.xz spack-ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8.zip |
package_hash: add test to ensure that every package in Spack can be unparsed
- [x] add option to canonical source to *not* filter multimethods
- [x] add test to unparse every package in builtin
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/bash-completion/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/bash-completion/package.py b/var/spack/repos/builtin/packages/bash-completion/package.py index c03dabf74f..c2bab1248c 100644 --- a/var/spack/repos/builtin/packages/bash-completion/package.py +++ b/var/spack/repos/builtin/packages/bash-completion/package.py @@ -39,7 +39,10 @@ class BashCompletion(AutotoolsPackage): print('include the following lines in your ~/.bash_profile :') print('') print('# Use bash-completion, if available') - print('[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \ ' % prefix) # NOQA: ignore=E501 + print( + '[[ $PS1 && -f %s/share/bash-completion/bash_completion ]] && \\' + % prefix + ) print(' . %s/share/bash-completion/bash_completion' % prefix) print('') print('=====================================================') |