Explorar o código

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>
Michal Simek %!s(int64=12) %!d(string=hai) anos
pai
achega
e85707570c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tools/patman/patman.py

+ 1 - 1
tools/patman/patman.py

@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2011 The Chromium OS Authors.
 #