mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] checkkconfigsymbols.py: set python2 as default interpreter
@ 2015-05-13  8:40 Valentin Rothberg
  0 siblings, 0 replies; 2+ messages in thread
From: Valentin Rothberg @ 2015-05-13  8:40 UTC (permalink / raw)
  To: gregkh; +Cc: stefan.hengelein, linux-kernel, Valentin Rothberg

Some more recent distributions set the default interpreter to python3,
causing the script to break since it's written for python2.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 scripts/checkkconfigsymbols.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkkconfigsymbols.py b/scripts/checkkconfigsymbols.py
index 74086a583d8d..8c297fee8200 100755
--- a/scripts/checkkconfigsymbols.py
+++ b/scripts/checkkconfigsymbols.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """Find Kconfig symbols that are referenced but not defined."""
 
-- 
2.4.0


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

* [PATCH] checkkconfigsymbols.py: set python2 as default interpreter
@ 2015-05-04  7:06 Valentin Rothberg
  0 siblings, 0 replies; 2+ messages in thread
From: Valentin Rothberg @ 2015-05-04  7:06 UTC (permalink / raw)
  To: gregkh; +Cc: valentinrothberg, linux-kernel

Some more recent distributions set the default interpreter to python3,
causing the script to break since it's written for python2.

Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
---
 scripts/checkkconfigsymbols.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/checkkconfigsymbols.py b/scripts/checkkconfigsymbols.py
index 74086a583d8d..8c297fee8200 100755
--- a/scripts/checkkconfigsymbols.py
+++ b/scripts/checkkconfigsymbols.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 """Find Kconfig symbols that are referenced but not defined."""
 
-- 
2.3.7


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

end of thread, other threads:[~2015-05-13  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-13  8:40 [PATCH] checkkconfigsymbols.py: set python2 as default interpreter Valentin Rothberg
  -- strict thread matches above, loose matches on Subject: below --
2015-05-04  7:06 Valentin Rothberg

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

all inboxes | Powered by JetHome®