diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-06-24 18:11:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 11:11:44 -0500 |
commit | 9d0b8b575b791f8f757e6fce59f91ef4d9b04c23 (patch) | |
tree | 71ad51878dc0a58c08ee2269689ae0a1d9d9a63c /var | |
parent | 8f2f5639c805600c8c3df4a37555a7f4ff02e538 (diff) | |
download | spack-9d0b8b575b791f8f757e6fce59f91ef4d9b04c23.tar.gz spack-9d0b8b575b791f8f757e6fce59f91ef4d9b04c23.tar.bz2 spack-9d0b8b575b791f8f757e6fce59f91ef4d9b04c23.tar.xz spack-9d0b8b575b791f8f757e6fce59f91ef4d9b04c23.zip |
postgresql: fix typo and missing import (#24491)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/postgresql/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py index 902d8e1258..c5e250255b 100644 --- a/var/spack/repos/builtin/packages/postgresql/package.py +++ b/var/spack/repos/builtin/packages/postgresql/package.py @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +import os + from spack import * @@ -85,7 +87,7 @@ class Postgresql(AutotoolsPackage): return config_args def install(self, spec, prefix): - if '+client-only' in self.spec: + if '+client_only' in self.spec: for subdir in ('bin', 'include', 'interfaces', 'pl'): with working_dir(os.path.join('src', subdir)): make('install') |