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)
commita707b3db562c4c3ae580e2eabb05b59adcc31846
tree9a96fa7e880c39c0e642c3b6de1bea8dcf509abc
parent9cc18042e61275210cf888e5759347eeb2a2e297
buildman: Use env to pick the python from $PATH

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