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/gitconfig/test/commit-message-hook.sh | 2 +- util/gitconfig/test/helpers.sh | 2 +- util/gitconfig/test/timeout.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'util/gitconfig/test') diff --git a/util/gitconfig/test/commit-message-hook.sh b/util/gitconfig/test/commit-message-hook.sh index a99570f198..f231f1425e 100755 --- a/util/gitconfig/test/commit-message-hook.sh +++ b/util/gitconfig/test/commit-message-hook.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/util/gitconfig/test/helpers.sh b/util/gitconfig/test/helpers.sh index 2e8b4070f9..fbb844264b 100644 --- a/util/gitconfig/test/helpers.sh +++ b/util/gitconfig/test/helpers.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by diff --git a/util/gitconfig/test/timeout.sh b/util/gitconfig/test/timeout.sh index 989afcc2b4..2d600f4a77 100755 --- a/util/gitconfig/test/timeout.sh +++ b/util/gitconfig/test/timeout.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by -- cgit v1.2.3