From 9f41d2ad2652cd1a1c8d99bb07a37421ea38901c Mon Sep 17 00:00:00 2001 From: CEA Support SALOME Date: Fri, 6 Feb 2015 16:33:39 +0100 Subject: [PATCH] script of PROFILE generation app-quickstart.py : adding _NO_ as possible value of modules option in order to prevent SalomeAPP.xml.in to have the module list --- src/AppQuickStart/app-quickstart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/AppQuickStart/app-quickstart.py b/src/AppQuickStart/app-quickstart.py index c4942a11e..f04439da2 100755 --- a/src/AppQuickStart/app-quickstart.py +++ b/src/AppQuickStart/app-quickstart.py @@ -163,6 +163,8 @@ def profileReplaceStrings( src, dst, options ) : with open( dst, "wt" ) as fout: with open( src, "rt" ) as fin: for line in fin: + if options.modules == '_NO_' and '[LIST_OF_MODULES]' in line: + line = '' l = line.replace( '[LIST_OF_MODULES]', options.modules ) l = l.replace( '[VERSION]', options.version ) l = l.replace( '[SLOGAN]', options.slogan ) -- 2.39.2