From ff5e73d6eb6d4ecf6f6fec69c9e151d886132eb8 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Thu, 23 Dec 2021 01:07:49 -0800 Subject: 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 --- var/spack/repos/builtin/packages/bash-completion/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'var/spack/repos/builtin/packages/bash-completion') 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('=====================================================') -- cgit v1.2.3-70-g09d2