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)