[coreboot-gerrit] New patch to review for coreboot: util: Use /usr/bin/env as wrapper to look up python

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Sat Jan 23 21:52:58 CET 2016


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13285

-gerrit

commit bf437581059ad6a4e6a0a33ea7a169f6c7b51939
Author: Nico Huber <nico.h at gmx.de>
Date:   Sat Jan 23 21:28:29 2016 +0100

    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 at gmx.de>
---
 util/dtd_parser/dtd_parser.py | 2 +-
 util/ipqheader/ipqheader.py   | 2 +-
 util/ipqheader/mbncat.py      | 2 +-
 util/optionlist/kconfig2wiki  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/util/dtd_parser/dtd_parser.py b/util/dtd_parser/dtd_parser.py
index c64640c..40d70c3 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 dcc90a9..ebdb9dd 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 39c9d80..98ae016 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 5ab93fe..a6f78a9 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



More information about the coreboot-gerrit mailing list