mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-23 16:01:08 +01:00
patcher: Output actual executable name in error message
This commit is contained in:
parent
bf168174d0
commit
332d7f4ee1
@ -89,8 +89,8 @@ def apply_patch_config():
|
||||
'%d patches failed to apply. Your build will not be correct.' %
|
||||
len(results['fail']))
|
||||
sys.stdout.write('\nTo manually revert failed patches run:' \
|
||||
'\n$ python%d ./tools/patch_updater.py --revert --patch %s\n' %
|
||||
(sys.version_info.major, ' --patch '.join(results['fail'])))
|
||||
'\n$ %s ./tools/patch_updater.py --revert --patch %s\n' %
|
||||
(os.path.basename(sys.executable), ' --patch '.join(results['fail'])))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user