patman: Do not hardcode python path
authorMichal Simek <michal.simek@xilinx.com>
Mon, 6 May 2013 04:11:58 +0000 (04:11 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 9 May 2013 21:27:41 +0000 (14:27 -0700)
commite85707570cf44f7b2d1da5ae92af3684c72c28f2
treee0775bf370304cd401278b0f67a92248e629e146
parentf0b739f15f3369273ea372eb29a2b841ad6d0ddd
patman: Do not hardcode python path

Patman requires python 2.7.4 to run but it doesn't
need to be placed in /usr/bin/python.
Use env to ensure that the interpreter used is
the first one on environment's $PATH on system
with several versions of Python installed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
Acked-by: Simon Glass <sjg@chromium.org>
tools/patman/patman.py