summaryrefslogtreecommitdiff
path: root/tools/patman
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-05-06 04:11:58 +0000
committerSimon Glass <sjg@chromium.org>2013-05-09 14:27:41 -0700
commite85707570cf44f7b2d1da5ae92af3684c72c28f2 (patch)
treee0775bf370304cd401278b0f67a92248e629e146 /tools/patman
parentf0b739f15f3369273ea372eb29a2b841ad6d0ddd (diff)
downloadu-boot-imx-e85707570cf44f7b2d1da5ae92af3684c72c28f2.zip
u-boot-imx-e85707570cf44f7b2d1da5ae92af3684c72c28f2.tar.gz
u-boot-imx-e85707570cf44f7b2d1da5ae92af3684c72c28f2.tar.bz2
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>
Diffstat (limited to 'tools/patman')
-rwxr-xr-xtools/patman/patman.py2
1 files changed, 1 insertions, 1 deletions
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.
#