From: Masahiro Yamada Date: Wed, 27 Aug 2014 05:05:51 +0000 (+0900) Subject: tools/genboardscfg.py: change shebang into /usr/bin/env python2 X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2134342e57ea6904255015845abf4efd6d72504c;p=u-boot.git tools/genboardscfg.py: change shebang into /usr/bin/env python2 This tool only works on python 2 (python 2.6 or lator). Change the shebang to make sure the script is run by python 2 and clearly say the supported version in the comment block. Signed-off-by: Masahiro Yamada --- diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py index 13dbc6326e..e6870f5bba 100755 --- a/tools/genboardscfg.py +++ b/tools/genboardscfg.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Author: Masahiro Yamada # @@ -11,6 +11,8 @@ Converter from Kconfig and MAINTAINERS to boards.cfg Run 'tools/genboardscfg.py' to create boards.cfg file. Run 'tools/genboardscfg.py -h' for available options. + +This script only works on python 2.6 or later, but not python 3.x. """ import errno