All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH tegra-uboot-scripts 1/2] Explicitly ask for Python 2
@ 2014-07-23 20:27 Stefan Agner
       [not found] ` <b1286f43830d50fc483310e2e32c61ab2308a4e5.1406147204.git.stefan-XLVq0VzYD2Y@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Agner @ 2014-07-23 20:27 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, stefan-XLVq0VzYD2Y

To make the scripts work without changes on distribution which
"python" defaults to Python 3, we should explicitly ask for
Python 2.

Signed-off-by: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
---
 gen-uboot-script.py | 2 +-
 part-uuid.py        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gen-uboot-script.py b/gen-uboot-script.py
index a60aed0..8ca3d01 100755
--- a/gen-uboot-script.py
+++ b/gen-uboot-script.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
 #
diff --git a/part-uuid.py b/part-uuid.py
index cd82c7d..e53a64c 100755
--- a/part-uuid.py
+++ b/part-uuid.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved.
 #
-- 
2.0.2

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

end of thread, other threads:[~2014-07-23 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 20:27 [PATCH tegra-uboot-scripts 1/2] Explicitly ask for Python 2 Stefan Agner
     [not found] ` <b1286f43830d50fc483310e2e32c61ab2308a4e5.1406147204.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2014-07-23 20:27   ` [PATCH tegra-uboot-scripts 2/2] Make folder for dtb files as an argument Stefan Agner
     [not found]     ` <cc27525d885d60e977b2cf17ccf7e8735b9eddb7.1406147204.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2014-07-23 21:48       ` Stephen Warren
2014-07-23 21:50   ` [PATCH tegra-uboot-scripts 1/2] Explicitly ask for Python 2 Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.