From: Michal Simek Date: Mon, 6 May 2013 04:11:58 +0000 (+0000) Subject: patman: Do not hardcode python path X-Git-Tag: v2013.07-rc1~1^2~60^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e85707570cf44f7b2d1da5ae92af3684c72c28f2;p=kernel%2Fu-boot.git 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 Reviewed-by: Tom Rini Acked-by: Simon Glass --- 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. #