From 08aafe180b99ffc574303a128d1494ad8e2005e3 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 2 Jan 2023 10:55:30 -0600 Subject: singularity: bugfix add space between prefix and other options (#34766) This fixes two issues introduced in #34474: prefix got the next option appended, and property was not resolved without the self. --- var/spack/repos/builtin/packages/singularityce/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/singularityce/package.py b/var/spack/repos/builtin/packages/singularityce/package.py index 82374ac5b7..11a04285aa 100644 --- a/var/spack/repos/builtin/packages/singularityce/package.py +++ b/var/spack/repos/builtin/packages/singularityce/package.py @@ -80,7 +80,7 @@ class SingularityBase(MakefilePackage): def edit(self, spec, prefix): with working_dir(self.build_directory): confstring = "./mconfig --prefix=%s" % prefix - confstring += " ".join(config_options) + confstring += " " + " ".join(self.config_options) if "~suid" in spec: confstring += " --without-suid" if "~network" in spec: -- cgit v1.2.3-70-g09d2