summaryrefslogtreecommitdiff
path: root/util/me_cleaner
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@riseup.net>2018-10-07 01:58:27 +0000
committerPatrick Georgi <pgeorgi@google.com>2018-11-17 07:32:03 +0000
commitc2e494136731571a78b2bdd7ca9dc536a8b5aecd (patch)
treea31bde7ce2d3ce4a96445200491b12c4e40a14f0 /util/me_cleaner
parent15316e2321e9936da5f0906ec76545830938a46e (diff)
downloadcoreboot-c2e494136731571a78b2bdd7ca9dc536a8b5aecd.tar.xz
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 <yegortimoshenko@riseup.net> Reviewed-on: https://review.coreboot.org/28953 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/me_cleaner')
-rwxr-xr-xutil/me_cleaner/me_cleaner.py2
-rwxr-xr-xutil/me_cleaner/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/me_cleaner/me_cleaner.py b/util/me_cleaner/me_cleaner.py
index 03fbbcb56b..f592863f80 100755
--- a/util/me_cleaner/me_cleaner.py
+++ b/util/me_cleaner/me_cleaner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# me_cleaner - Tool for partial deblobbing of Intel ME/TXE firmware images
# Copyright (C) 2016-2018 Nicola Corna <nicola@corna.info>
diff --git a/util/me_cleaner/setup.py b/util/me_cleaner/setup.py
index 92fd359ad4..c831ef8962 100755
--- a/util/me_cleaner/setup.py
+++ b/util/me_cleaner/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from setuptools import setup