forked from distok/cutthecord
ctcci: Get xmlpatch command from config
This commit is contained in:
parent
2786de6c73
commit
b6f80bbee0
2 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ def xmlpatch(patch_file, workdir, patch_name=""):
|
|||
|
||||
print(f"Applying {patch_file}")
|
||||
|
||||
subprocess.run(f"java -cp /opt/ctc/tools/xml-patch.jar com.github.dnault.xmlpatch.BatchPatcher --patch {patch_file} --srcdir {workdir}",
|
||||
subprocess.run(f"{XML_PATCH_BIN} com.github.dnault.xmlpatch.BatchPatcher --patch {patch_file} --srcdir {workdir}",
|
||||
shell=True, check=True, cwd=workdir)
|
||||
|
||||
def patch(patch_file, workdir, patch_name=""):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue