]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
utils/scanpypi: don't hardcode python2
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 30 Mar 2018 21:48:07 +0000 (23:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 1 Apr 2018 05:53:58 +0000 (07:53 +0200)
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@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scanpypi

index 505ba0a246d9a031ca3c69f357c326c01850885b..df8939b82e6ddc89ae8eb8fc6423772de1522c01 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 """
 
 Utility for building Buildroot packages for existing PyPI packages