From 9d0b8b575b791f8f757e6fce59f91ef4d9b04c23 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Thu, 24 Jun 2021 18:11:44 +0200 Subject: postgresql: fix typo and missing import (#24491) --- var/spack/repos/builtin/packages/postgresql/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'var') 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') -- cgit v1.2.3-60-g2f50