From 53c13eacd29f5ae053f4ea85c8f994831eaf87d6 Mon Sep 17 00:00:00 2001 From: Simon Branford <4967+branfosj@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:44:32 +0100 Subject: [PATCH] support >= 2024a `for MCR` --- easybuild/easyblocks/m/mcr.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/easybuild/easyblocks/m/mcr.py b/easybuild/easyblocks/m/mcr.py index 9b16706f4f..76f538dc30 100644 --- a/easybuild/easyblocks/m/mcr.py +++ b/easybuild/easyblocks/m/mcr.py @@ -81,12 +81,17 @@ def configure_step(self): config = regdest.sub("destinationFolder=%s" % self.installdir, config) config = regagree.sub("agreeToLicense=Yes", config) config = regmode.sub("mode=silent", config) - else: + elif LooseVersion(self.version) < LooseVersion('R2024a'): config = '\n'.join([ "destinationFolder=%s" % self.installdir, "agreeToLicense=Yes", "mode=silent", ]) + else: + config = '\n'.join([ + "destinationFolder=%s" % self.installdir, + "agreeToLicense=yes", + ]) write_file(configfile, config)