Salome HOME
sat #8922 : affichage d'un message clair pour un chemin non existant d'un prerequis...
[tools/sat.git] / commands / source.py
index 23b41d70c746ad7b28ca0f61ae7804d46b863f69..e9295cc0f4cf6283a3a208d4c752df89ddf4affc 100644 (file)
@@ -393,9 +393,12 @@ def get_product_sources(config,
         logger.write('%s  ' % src.printcolors.printc(src.OK_STATUS),
                      3,
                      False)
-        msg = _('INFORMATION : Not doing anything because the product'
-                ' is of type "fixed".\n')
-        logger.write(msg, 3)
+        msg = "FIXED : %s\n" % product_info.install_dir
+
+        if not os.path.isdir(product_info.install_dir):
+            logger.warning("The fixed path do not exixts!! Please check it : %s\n" % product_info.install_dir)
+        else:
+            logger.write(msg, 3)
         return True  
 
     # if the get_source is not in [git, archive, cvs, svn, fixed, native]