From c1269e105ddede62f651f0e42f5fccf237b93e94 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Tue, 12 Sep 2017 15:57:56 -0400 Subject: [PATCH] automate-git.py: Fix application of DEPS.patch --- tools/automate/automate-git.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/automate/automate-git.py b/tools/automate/automate-git.py index c7357f664..3e24db8d9 100644 --- a/tools/automate/automate-git.py +++ b/tools/automate/automate-git.py @@ -268,8 +268,8 @@ def apply_deps_patch(): if os.path.isfile(deps_path): msg("Chromium DEPS file: %s" % (deps_path)) - patch_file = os.path.join(cef_dir, 'patch', 'patches', deps_file + '.patch') - if os.path.exists(patch_file): + patch_file = os.path.join(cef_dir, 'patch', 'patches', deps_file) + if os.path.exists(patch_file + ".patch"): # Attempt to apply the DEPS patch file that may exist with newer branches. patch_tool = os.path.join(cef_dir, 'tools', 'patcher.py') run('%s %s --patch-file "%s" --patch-dir "%s"' %