U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH
@ 2013-09-28 17:38 Jagannadha Sutradharudu Teki
  2013-09-30  4:32 ` Simon Glass
  2013-10-15 12:45 ` [U-Boot] " Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-09-28 17:38 UTC (permalink / raw)
  To: u-boot

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>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH
  2013-09-28 17:38 [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH Jagannadha Sutradharudu Teki
@ 2013-09-30  4:32 ` Simon Glass
  2013-10-15 10:41   ` Jagan Teki
  2013-10-15 12:45 ` [U-Boot] " Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Glass @ 2013-09-30  4:32 UTC (permalink / raw)
  To: u-boot

On Sat, Sep 28, 2013 at 11:38 AM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki@xilinx.com> wrote:
> 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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH
  2013-09-30  4:32 ` Simon Glass
@ 2013-10-15 10:41   ` Jagan Teki
  0 siblings, 0 replies; 4+ messages in thread
From: Jagan Teki @ 2013-10-15 10:41 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On Mon, Sep 30, 2013 at 10:02 AM, Simon Glass <sjg@chromium.org> wrote:
> On Sat, Sep 28, 2013 at 11:38 AM, Jagannadha Sutradharudu Teki
> <jagannadha.sutradharudu-teki@xilinx.com> wrote:
>> 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>
> _______________________________________________

Can you pick this.

-- 
Thanks,
Jagan.
--------
Jagannadha Sutradharudu Teki,
E: jagannadh.teki at gmail.com, P: +91-9676773388
Engineer - System Software Hacker
U-boot - SPI Custodian and Zynq APSOC
Ln: http://www.linkedin.com/in/jaganteki

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] buildman: Use env to pick the python from $PATH
  2013-09-28 17:38 [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH Jagannadha Sutradharudu Teki
  2013-09-30  4:32 ` Simon Glass
@ 2013-10-15 12:45 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2013-10-15 12:45 UTC (permalink / raw)
  To: u-boot

On Sat, Sep 28, 2013 at 11:08:14PM +0530, Jagannadha Sutradharudu Teki wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131015/eb1601bd/attachment.pgp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-15 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 17:38 [U-Boot] [PATCH] buildman: Use env to pick the python from $PATH Jagannadha Sutradharudu Teki
2013-09-30  4:32 ` Simon Glass
2013-10-15 10:41   ` Jagan Teki
2013-10-15 12:45 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox