Fix a bug that may cause the ota generation fail.
The extra space in args['extra'] may cause the ota generation fail. Test: python test_ota_interface.py -v Change-Id: Iac6d06a89c52ab7554e54c08e5e04496b3da730a
This commit is contained in:
@@ -251,7 +251,7 @@ class ProcessesManagement:
|
|||||||
args['extra'] = \
|
args['extra'] = \
|
||||||
'--' + ' --'.join(args['extra_keys']) + ' ' + args['extra']
|
'--' + ' --'.join(args['extra_keys']) + ' ' + args['extra']
|
||||||
if args['extra']:
|
if args['extra']:
|
||||||
command += args['extra'].split(' ')
|
command += args['extra'].strip().split(' ')
|
||||||
command.append('-k')
|
command.append('-k')
|
||||||
command.append(
|
command.append(
|
||||||
'build/make/target/product/security/testkey')
|
'build/make/target/product/security/testkey')
|
||||||
|
|||||||
Reference in New Issue
Block a user