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/riscv/make-spike-elf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/riscv') diff --git a/util/riscv/make-spike-elf.sh b/util/riscv/make-spike-elf.sh index 834e8d2cb6..135b62ad97 100755 --- a/util/riscv/make-spike-elf.sh +++ b/util/riscv/make-spike-elf.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # # This script is based on: # https://docs.google.com/document/d/1Pvf9Yxorcd3sbgs8WcomcTl3J4bmX6e1UE0ROCefR88 -- cgit v1.2.3