Salome HOME
minor changes
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Mon, 19 Sep 2016 09:29:27 +0000 (11:29 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Mon, 19 Sep 2016 09:29:27 +0000 (11:29 +0200)
commands/compile.py
commands/config.py
data/site.pyconf

index e659414aaeb5f04dc2da26bb171ab739f5ceb832..ab4e674b42687950a375fcbc8d9d652cc7d62ead 100644 (file)
@@ -446,7 +446,7 @@ def compile_product(sat, p_name_info, config, options, logger, header, len_end):
                 error_step = "MAKE INSTALL"
 
     # Check that the install directory exists
-    if not(os.path.exists(p_info.install_dir)):
+    if res==0 and not(os.path.exists(p_info.install_dir)):
         res = 1
         error_step = "NO INSTALL DIR"
         msg = _("Error: despite the fact that all the steps ended successfully,"
index 68ce2bb57d893e222b1d1a3d0f327d21723b0e7f..0f3777cc284b37a6760623fdbe1aa2ce2e685692 100644 (file)
@@ -788,7 +788,7 @@ def run(args, runner, logger):
         if 'APPLICATION' not in runner.cfg: # edit user pyconf
             usercfg = os.path.join(runner.cfg.VARS.personalDir, 
                                    'salomeTools.pyconf')
-            logger.write(_("Openning %s" % usercfg), 3)
+            logger.write(_("Openning %s\n" % usercfg), 3)
             src.system.show_in_editor(editor, usercfg, logger)
         else:
             # search for file <application>.pyconf and open it
@@ -796,7 +796,7 @@ def run(args, runner, logger):
                 pyconf_path = os.path.join(path, 
                                     runner.cfg.VARS.application + ".pyconf")
                 if os.path.exists(pyconf_path):
-                    logger.write(_("Openning %s" % pyconf_path), 3)
+                    logger.write(_("Openning %s\n" % pyconf_path), 3)
                     src.system.show_in_editor(editor, pyconf_path, logger)
                     break
     
index d721713a3da5d041c09eecd9e6220cf05062f894..078612c6ab06443844ce3da1ea67308040f60b93 100644 (file)
@@ -13,5 +13,5 @@ SITE :
 
 PROJECTS :
 {
-project_file_paths : ["/home/salome/SPN_PRIVATE/SAT5/SALOME-PROJECT/salome.pyconf"]
+project_file_paths : ["/home/salome/SPN_PRIVATE/SAT5/SALOME-PROJECT/salome.pyconf", "/data/tmpsalome/salome/SAT-PROJECTS/NUMODIS/numodis.pyconf"]
 }