[U-Boot] [PATCH] buildman: Use env to pick the python from $PATH

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Sat Sep 28 19:38:14 CEST 2013


python used in buildman doesn't need to be placed in
/usr/bin/python, So use env to ensure that the interpreter
will pick the python from environment.

Usefull with several versions of python's installed on system.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
---
 tools/buildman/buildman.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py
index 6fba2f2..1a5c52d 100755
--- a/tools/buildman/buildman.py
+++ b/tools/buildman/buildman.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2012 The Chromium OS Authors.
 #
-- 
1.8.3




More information about the U-Boot mailing list