summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2016-01-23 21:28:29 +0100
committerNico Huber <nico.h@gmx.de>2016-01-25 01:28:52 +0100
commit7224e87d1077504db672ee3ea3ea0a7e5e2a69dd (patch)
treeea42bf163c7a09b69aaeaf5dd837a3e45c71c60b /util
parentdb84a99011bef90c57fcbbd168c95ca6d7aceafd (diff)
util: Use /usr/bin/env as wrapper to look up python
This way users are not constrained to have it installed as /usr/bin/python. Change-Id: I822b6c402004aad8f2353e71afbd8ee3f9d26d45 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/13285 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/dtd_parser/dtd_parser.py2
-rwxr-xr-xutil/ipqheader/ipqheader.py2
-rwxr-xr-xutil/ipqheader/mbncat.py2
-rwxr-xr-xutil/optionlist/kconfig2wiki2
4 files changed, 4 insertions, 4 deletions
diff --git a/util/dtd_parser/dtd_parser.py b/util/dtd_parser/dtd_parser.py
index c64640c5ad..40d70c341b 100755
--- a/util/dtd_parser/dtd_parser.py
+++ b/util/dtd_parser/dtd_parser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# dtd_parser.py - DTD structure parser
#
# Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
diff --git a/util/ipqheader/ipqheader.py b/util/ipqheader/ipqheader.py
index dcc90a9b33..ebdb9dde91 100755
--- a/util/ipqheader/ipqheader.py
+++ b/util/ipqheader/ipqheader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Copyright (c) 2013 The Linux Foundation. All rights reserved.
#
diff --git a/util/ipqheader/mbncat.py b/util/ipqheader/mbncat.py
index 39c9d80072..98ae01608a 100755
--- a/util/ipqheader/mbncat.py
+++ b/util/ipqheader/mbncat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (c) 2014, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
diff --git a/util/optionlist/kconfig2wiki b/util/optionlist/kconfig2wiki
index 5ab93fe869..a6f78a902a 100755
--- a/util/optionlist/kconfig2wiki
+++ b/util/optionlist/kconfig2wiki
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# kconfig2wiki - Kconfig to MediaWiki converter for
# http://www.coreboot.org/Coreboot_Options