automate-git.py: Fix application of DEPS.patch
This commit is contained in:
parent
3f48f8ec54
commit
c1269e105d
|
@ -268,8 +268,8 @@ def apply_deps_patch():
|
||||||
|
|
||||||
if os.path.isfile(deps_path):
|
if os.path.isfile(deps_path):
|
||||||
msg("Chromium DEPS file: %s" % (deps_path))
|
msg("Chromium DEPS file: %s" % (deps_path))
|
||||||
patch_file = os.path.join(cef_dir, 'patch', 'patches', deps_file + '.patch')
|
patch_file = os.path.join(cef_dir, 'patch', 'patches', deps_file)
|
||||||
if os.path.exists(patch_file):
|
if os.path.exists(patch_file + ".patch"):
|
||||||
# Attempt to apply the DEPS patch file that may exist with newer branches.
|
# Attempt to apply the DEPS patch file that may exist with newer branches.
|
||||||
patch_tool = os.path.join(cef_dir, 'tools', 'patcher.py')
|
patch_tool = os.path.join(cef_dir, 'tools', 'patcher.py')
|
||||||
run('%s %s --patch-file "%s" --patch-dir "%s"' %
|
run('%s %s --patch-file "%s" --patch-dir "%s"' %
|
||||||
|
|
Loading…
Reference in New Issue