From 0ad5fbd48d0169576d6ed4666b909635b7cde89b Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 24 Dec 2020 12:06:38 -0700 Subject: 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 Change-Id: Ifcc56aa21092cd3866eacb6a02d198110ec6051d Reviewed-on: https://review.coreboot.org/c/coreboot/+/48904 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- util/kconfig/check.sh | 2 +- util/kconfig/lxdialog/check-lxdialog.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'util/kconfig') diff --git a/util/kconfig/check.sh b/util/kconfig/check.sh index 55b79ba1ba..2e0060fd45 100755 --- a/util/kconfig/check.sh +++ b/util/kconfig/check.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # Needed for systems without gettext $* -x c -o /dev/null - > /dev/null 2>&1 << EOF #include diff --git a/util/kconfig/lxdialog/check-lxdialog.sh b/util/kconfig/lxdialog/check-lxdialog.sh index 78939da0b2..6833febc2c 100755 --- a/util/kconfig/lxdialog/check-lxdialog.sh +++ b/util/kconfig/lxdialog/check-lxdialog.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # Check ncurses compatibility # What library to link -- cgit v1.2.3