From 7224e87d1077504db672ee3ea3ea0a7e5e2a69dd Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 23 Jan 2016 21:28:29 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/13285 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- 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 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