Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] utils/scanpypi: don't hardcode python2
@ 2018-03-30 21:48 Peter Korsgaard
  2018-04-01  5:37 ` Yegor Yefremov
  2018-04-01  5:54 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-03-30 21:48 UTC (permalink / raw)
  To: buildroot

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>
---
 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
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-01  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-30 21:48 [Buildroot] [PATCH] utils/scanpypi: don't hardcode python2 Peter Korsgaard
2018-04-01  5:37 ` Yegor Yefremov
2018-04-01  5:54 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox