singularityce: arg handling fix (#39663)

This commit is contained in:
Brian Vanderwende 2023-08-28 13:52:57 -06:00 committed by GitHub
parent cb855d5ffd
commit a1e117a98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,9 +82,9 @@ def edit(self, spec, prefix):
_config_options = ["--prefix=%s" % prefix]
_config_options += self.config_options
if "~suid" in spec:
_config_options += " --without-suid"
_config_options += ["--without-suid"]
if "~network" in spec:
_config_options += " --without-network"
_config_options += ["--without-network"]
configure = Executable("./mconfig")
configure(*_config_options)