From c2e494136731571a78b2bdd7ca9dc536a8b5aecd Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Sun, 7 Oct 2018 01:58:27 +0000 Subject: treewide: use /usr/bin/env where appropriate Some Unix systems (GuixSD, NixOS) do not install programs like Bash and Python to /usr/bin, and /usr/bin/env has to be used to locate these instead. Change-Id: I7546bcb881c532adc984577ecb0ee2ec4f2efe00 Signed-off-by: Yegor Timoshenko Reviewed-on: https://review.coreboot.org/28953 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/ipqheader/createxbl.py | 2 +- util/ipqheader/mbn_tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'util/ipqheader') diff --git a/util/ipqheader/createxbl.py b/util/ipqheader/createxbl.py index b01e628544fb..7f2d9873196b 100755 --- a/util/ipqheader/createxbl.py +++ b/util/ipqheader/createxbl.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python #============================================================================ # #/** @file createxbl.py diff --git a/util/ipqheader/mbn_tools.py b/util/ipqheader/mbn_tools.py index c4d26c1793b6..8a17563606eb 100755 --- a/util/ipqheader/mbn_tools.py +++ b/util/ipqheader/mbn_tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python #=============================================================================== # # MBN TOOLS -- cgit v1.2.3