]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
tools/genboardscfg.py: change shebang into /usr/bin/env python2
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 27 Aug 2014 05:05:51 +0000 (14:05 +0900)
committerTom Rini <trini@ti.com>
Thu, 28 Aug 2014 21:18:49 +0000 (17:18 -0400)
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 <yamada.m@jp.panasonic.com>
tools/genboardscfg.py

index 13dbc6326ee43d9f50d7ce1925152cce5a2a3cc5..e6870f5bba9ce4012603b7d4fa3726836c9715c5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 #
 # Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
 #
@@ -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