mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
patman: Use python3 with /usr/bin/env
If python2 is available then we must specify python3 here. Update the test to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -637,7 +637,7 @@ complicated as possible''')
|
||||
'check_patch: False\n'
|
||||
'add_maintainers: True\n', binary=False)
|
||||
tools.write_file('dummy-script.sh',
|
||||
'#!/usr/bin/env python\n'
|
||||
'#!/usr/bin/env python3\n'
|
||||
'print("hello@there.com")\n', binary=False)
|
||||
os.chmod('dummy-script.sh', 0x555)
|
||||
tools.run('git', 'add', '.')
|
||||
|
||||
Reference in New Issue
Block a user