summaryrefslogtreecommitdiffstats
path: root/util/board_status
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2020-12-24 12:06:38 -0700
committerPatrick Georgi <pgeorgi@google.com>2021-01-25 08:57:40 +0000
commit0ad5fbd48d0169576d6ed4666b909635b7cde89b (patch)
tree461417a934399902915ee8f69738cc6010f2c636 /util/board_status
parent2cee2ff256297b1c3de204c66f918b3991f96a40 (diff)
downloadcoreboot-0ad5fbd48d0169576d6ed4666b909635b7cde89b.tar.gz
coreboot-0ad5fbd48d0169576d6ed4666b909635b7cde89b.tar.bz2
coreboot-0ad5fbd48d0169576d6ed4666b909635b7cde89b.zip
util: Update all shebangs to use /usr/bin/env
Instead of hardcoding paths to the executables, use the version in the path. This allows the scripts to work on more systems, and allows the binary version to be changed more easily if needed. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ifcc56aa21092cd3866eacb6a02d198110ec6051d Reviewed-on: https://review.coreboot.org/c/coreboot/+/48904 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'util/board_status')
-rwxr-xr-xutil/board_status/board_status.sh2
-rwxr-xr-xutil/board_status/getrevision.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 31c3e7c483d4..8073ae444478 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
#
#
diff --git a/util/board_status/getrevision.sh b/util/board_status/getrevision.sh
index 20871f6beec3..ddbfde0e7677 100755
--- a/util/board_status/getrevision.sh
+++ b/util/board_status/getrevision.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
# SPDX-License-Identifier: GPL-2.0-or-later
#
# From the flashrom project but heavily modified since then.