[PATCH tegra-uboot-flasher-scripts] Explicitly ask for Python 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux