[U-Boot] [RFC PATCH] patman: Do not hardcode python path

Simon Glass sjg at chromium.org
Mon May 13 04:27:56 CEST 2013


On Mon, May 6, 2013 at 1:03 PM, Simon Glass <sjg at chromium.org> wrote:
> On Mon, May 6, 2013 at 8:14 AM, Tom Rini <trini at ti.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 05/06/2013 10:11 AM, Michal Simek wrote:
>>> 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 at xilinx.com> ---
>>> tools/patman/patman.py | 2 +- 1 file changed, 1 insertion(+), 1
>>> deletion(-)
>>>
>>> diff --git a/tools/patman/patman.py b/tools/patman/patman.py index
>>> a8061a9..7a317c5 100755 --- a/tools/patman/patman.py +++
>>> b/tools/patman/patman.py @@ -1,4 +1,4 @@ -#!/usr/bin/python
>>> +#!/usr/bin/env python # # Copyright (c) 2011 The Chromium OS
>>> Authors. #
>>
>> Reviewed-by: Tom Rini <trini at ti.com>
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to x86/patman.


More information about the U-Boot mailing list