[PATCH tegra-uboot-scripts 1/2] 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>
---
 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

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