[PATCH 04/25] patman: Use python3 with /usr/bin/env
Simon Glass
sjg at chromium.org
Sat May 10 13:04:57 CEST 2025
If python2 is available then we must specify python3 here. Update the
test to handle this.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/patman/func_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index 00aed8786e8..da81101ea93 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -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 at there.com")\n', binary=False)
os.chmod('dummy-script.sh', 0x555)
tools.run('git', 'add', '.')
--
2.43.0
More information about the U-Boot
mailing list