Salome HOME
fix archive not found in product
[tools/sat.git] / src / product.py
index 5eb207942b5c2353bd22491ffaa46a5f8f03c543..fba1c42459cd36d69a4bb93d52582cc4eb7aa3af 100644 (file)
@@ -196,7 +196,9 @@ Please add a section in it.""") % {"1" : vv, "2" : prod_pyconf_path}
                     DBG.tofix(msg, config.PATHS.ARCHIVEPATH) #avoid 2 messages in compile
                     prod_info.archive_info.archive_name = arch_name #without path
                     # raise src.SatException(msg) #may be a warning, continue #8646
-                prod_info.archive_info.archive_name = arch_path
+                else:
+                    prod_info.archive_info.archive_name = arch_path
+
         
     # If the product compiles with a script, check the script existence
     # and if it is executable