mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tools: Add non-zero exit code for single patch failure (fixes #3903)
This commit is contained in:
committed by
Marshall Greenblatt
parent
18b65ced23
commit
e44a93551f
@ -115,6 +115,8 @@ parser.add_option(
|
|||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
if not options.patchfile is None:
|
if not options.patchfile is None:
|
||||||
apply_patch_file(options.patchfile, options.patchdir)
|
result = apply_patch_file(options.patchfile, options.patchdir)
|
||||||
|
if result == 'fail':
|
||||||
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
apply_patch_config()
|
apply_patch_config()
|
||||||
|
Reference in New Issue
Block a user