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/crossgcc/buildgcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/crossgcc') diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 5af3d5aadf..96256cdfb1 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # shellcheck disable=SC2030,SC2031,SC2059 # The above line must be directly after the shebang line. # Disables these warnings: -- cgit v1.2.3