postgresql: fix typo and missing import (#24491)
This commit is contained in:
parent
8f2f5639c8
commit
9d0b8b575b
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user