postgresql: fix typo and missing import (#24491)

This commit is contained in:
Manuela Kuhn 2021-06-24 18:11:44 +02:00 committed by GitHub
parent 8f2f5639c8
commit 9d0b8b575b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
from spack import *
@ -85,7 +87,7 @@ def configure_args(self):
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')