Salome HOME
sat launcher: Put a relative link instead of an absolute link in the
[tools/sat.git] / commands / patch.py
index c3525f8e6d6731487eb9537ea2dd135bd7b79135..f9e88e52e2b469891df35642750972a3f3a3a4c7 100644 (file)
@@ -80,10 +80,8 @@ def apply_patch(config, product_info, max_product_name_len, logger):
         
         # Check the existence and apply the patch
         if os.path.isfile(patch):
-            #patch_exe = "patch" # old patch command (now replace by patching.py)
-            patch_exe = os.path.join(config.VARS.srcDir, "patching.py")
-            patch_cmd = "python %s -p1 -- < %s" % (patch_exe, patch)
-
+            patch_cmd = "patch -p1 < %s" % patch
+            
             # Write the command in the terminal if verbose level is at 5
             logger.write(("    >%s\n" % patch_cmd),5)