summaryrefslogtreecommitdiff
path: root/util/docker
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/docker
parent2cee2ff256297b1c3de204c66f918b3991f96a40 (diff)
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/docker')
-rwxr-xr-xutil/docker/coreboot.org-status/board-status.html/bucketize.sh2
-rwxr-xr-xutil/docker/coreboot.org-status/board-status.html/status-to-html.sh2
-rwxr-xr-xutil/docker/coreboot.org-status/board-status.html/tohtml.sh2
-rwxr-xr-xutil/docker/coreboot.org-status/run.sh2
-rwxr-xr-xutil/docker/doc.coreboot.org/ditaa.sh2
-rwxr-xr-xutil/docker/doc.coreboot.org/makeSphinx.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/util/docker/coreboot.org-status/board-status.html/bucketize.sh b/util/docker/coreboot.org-status/board-status.html/bucketize.sh
index cb643e73bc..fd3a94b372 100755
--- a/util/docker/coreboot.org-status/board-status.html/bucketize.sh
+++ b/util/docker/coreboot.org-status/board-status.html/bucketize.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
# usage: $0 [weekly|monthly|quarterly] < filenames
# sorts files of the form VENDOR/BOARD/COMMIT/DATE/revision.txt
# into buckets of the given granularity
diff --git a/util/docker/coreboot.org-status/board-status.html/status-to-html.sh b/util/docker/coreboot.org-status/board-status.html/status-to-html.sh
index 6630b30c1f..2fb958c2d4 100755
--- a/util/docker/coreboot.org-status/board-status.html/status-to-html.sh
+++ b/util/docker/coreboot.org-status/board-status.html/status-to-html.sh
@@ -1,2 +1,2 @@
-#!/bin/sh
+#!/usr/bin/env sh
ls -d */*/*/*/ | `dirname $0`/bucketize.sh weekly | `dirname $0`/tohtml.sh
diff --git a/util/docker/coreboot.org-status/board-status.html/tohtml.sh b/util/docker/coreboot.org-status/board-status.html/tohtml.sh
index 98bbc9481e..0244b8e272 100755
--- a/util/docker/coreboot.org-status/board-status.html/tohtml.sh
+++ b/util/docker/coreboot.org-status/board-status.html/tohtml.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
export COREBOOT_DIR="../coreboot.git"
export GIT_DIR="$COREBOOT_DIR/.git"
CODE_GITWEB="https://review.coreboot.org/gitweb/cgit/coreboot.git/commit/?id="
diff --git a/util/docker/coreboot.org-status/run.sh b/util/docker/coreboot.org-status/run.sh
index ba5ec91929..84de3caa20 100755
--- a/util/docker/coreboot.org-status/run.sh
+++ b/util/docker/coreboot.org-status/run.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env sh
#
# SPDX-License-Identifier: GPL-2.0-only
diff --git a/util/docker/doc.coreboot.org/ditaa.sh b/util/docker/doc.coreboot.org/ditaa.sh
index 5f27f53497..637379f3e7 100755
--- a/util/docker/doc.coreboot.org/ditaa.sh
+++ b/util/docker/doc.coreboot.org/ditaa.sh
@@ -1,2 +1,2 @@
-#!/bin/sh
+#!/usr/bin/env sh
exec java -jar /usr/lib/ditaa0_9.jar $*
diff --git a/util/docker/doc.coreboot.org/makeSphinx.sh b/util/docker/doc.coreboot.org/makeSphinx.sh
index 3b0c4e336f..96a593c7ed 100755
--- a/util/docker/doc.coreboot.org/makeSphinx.sh
+++ b/util/docker/doc.coreboot.org/makeSphinx.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [ "$1" == "livehtml" ]; then
echo "Starting live documentation build"