buildman: Use env to pick the python from $PATH
authorJagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>
Sat, 28 Sep 2013 17:38:14 +0000 (23:08 +0530)
committerTom Rini <trini@ti.com>
Tue, 15 Oct 2013 12:44:28 +0000 (08:44 -0400)
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@xilinx.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/buildman/buildman.py

index 43895b87ea729d02b675a68b38e26784b21ef57c..8822efefa58b985a1ee4fe3c592308c7ecab4c8f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2012 The Chromium OS Authors.
 #