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.' %
|
'%d patches failed to apply. Your build will not be correct.' %
|
||||||
len(results['fail']))
|
len(results['fail']))
|
||||||
sys.stdout.write('\nTo manually revert failed patches run:' \
|
sys.stdout.write('\nTo manually revert failed patches run:' \
|
||||||
'\n$ python%d ./tools/patch_updater.py --revert --patch %s\n' %
|
'\n$ %s ./tools/patch_updater.py --revert --patch %s\n' %
|
||||||
(sys.version_info.major, ' --patch '.join(results['fail'])))
|
(os.path.basename(sys.executable), ' --patch '.join(results['fail'])))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user