linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH tegra-uboot-flasher-scripts] Explicitly ask for Python 2
@ 2014-07-12 21:55 Stefan Agner
       [not found] ` <745064308751f6389975f4fb70d2d6e0c8175d4e.1405201965.git.stefan-XLVq0VzYD2Y@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Agner @ 2014-07-12 21:55 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>
---
 build               | 2 +-
 build-tools         | 2 +-
 tegra-uboot-flasher | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build b/build
index 139b502..af863dd 100755
--- a/build
+++ b/build
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
 #
diff --git a/build-tools b/build-tools
index 307d8a2..074c837 100755
--- a/build-tools
+++ b/build-tools
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
 #
diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher
index ed2f2d9..b71f967 100755
--- a/tegra-uboot-flasher
+++ b/tegra-uboot-flasher
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 # Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
 #
-- 
2.0.0

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

* Re: [PATCH tegra-uboot-flasher-scripts] Explicitly ask for Python 2
       [not found] ` <745064308751f6389975f4fb70d2d6e0c8175d4e.1405201965.git.stefan-XLVq0VzYD2Y@public.gmane.org>
@ 2014-07-21 16:24   ` Stephen Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2014-07-21 16:24 UTC (permalink / raw)
  To: Stefan Agner; +Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 07/12/2014 03:55 PM, Stefan Agner wrote:
> To make the scripts work without changes on distribution which
> "python" defaults to Python 3, we should explicitly ask for
> Python 2.

Applied.

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-12 21:55 [PATCH tegra-uboot-flasher-scripts] Explicitly ask for Python 2 Stefan Agner
     [not found] ` <745064308751f6389975f4fb70d2d6e0c8175d4e.1405201965.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2014-07-21 16:24   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).