From: Serge Rehbinder Date: Thu, 2 Jun 2016 09:46:01 +0000 (+0200) Subject: Add a default base in the default user config file X-Git-Tag: 5.0.0a0~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5040c9d9785f0494e58f7d9051bcd6760d362323;p=tools%2Fsat.git Add a default base in the default user config file --- diff --git a/commands/config.py b/commands/config.py index c494212..6ca161e 100644 --- a/commands/config.py +++ b/commands/config.py @@ -385,6 +385,14 @@ class ConfigManager: 'evince', "This is the pdf_viewer used " "to read pdf documentation\n") + user_cfg.USER.addMapping("bases", + src.pyconf.Mapping(user_cfg.USER), + "The products installation base(s)\n") + + user_cfg.USER.bases.base = src.pyconf.Reference( + user_cfg, + src.pyconf.DOLLAR, + 'workdir + $VARS.sep + "BASE"') # src.ensure_path_exists(config.VARS.personalDir) src.ensure_path_exists(os.path.join(config.VARS.personalDir,