All of lore.kernel.org
 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

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