]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
ensure that fix_permissions.sh is not called on Windows
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 2 May 2023 07:30:07 +0000 (09:30 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 2 May 2023 07:30:07 +0000 (09:30 +0200)
src/product.py

index ffc75c909ccc0b89ce2deca8a8a276af7a620ddc..28948da38087ee5c4a7e8d74505908022fb6c1e1 100644 (file)
@@ -1154,7 +1154,7 @@ def product_has_post_script(product_info):
     :return: True if the product has one or more patches
     :rtype: boolean
     """   
-    res = ( "post_script" in product_info and len(product_info.post_script) > 0 )
+    res = ( "post_script" in product_info and len(product_info.post_script) > 0 and not src.architecture.is_windows())
     return res
 
 def product_has_logo(product_info):