[Buildroot] [git commit] utils/scanpypi: don't hardcode python2
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Apr 1 05:53:58 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=1490558b75f2d28fdf11745a1977872b33d82b98
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Commit 3a0c20c5309b (scanpypi: add support for Python3) adapted the script
to work with python 3.x, but the shebang still said python2 making it
unlikely to work on systems without python 2.x.
Change it to just 'python' instead.
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
utils/scanpypi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/scanpypi b/utils/scanpypi
index 505ba0a246..df8939b82e 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
"""
Utility for building Buildroot packages for existing PyPI packages
More information about the buildroot
mailing list