root: do not use /bin/bash directly (#14698)

This commit is contained in:
Marc 'risson' Schmitt
2025-05-26 14:38:29 +02:00
committed by GitHub
parent a8e543972a
commit da1b252f3b
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
.PHONY: gen dev-reset all clean test web website .PHONY: gen dev-reset all clean test web website
SHELL := /bin/bash SHELL := /usr/bin/env bash
.SHELLFLAGS += ${SHELLFLAGS} -e -o pipefail .SHELLFLAGS += ${SHELLFLAGS} -e -o pipefail
PWD = $(shell pwd) PWD = $(shell pwd)
UID = $(shell id -u) UID = $(shell id -u)

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e -x -o pipefail set -e -x -o pipefail
hash="$(git rev-parse HEAD || openssl rand -base64 36 | sha256sum)" hash="$(git rev-parse HEAD || openssl rand -base64 36 | sha256sum)"

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/usr/bin/env bash
docsmg move $1 $2 | tee -a migratefile docsmg move $1 $2 | tee -a migratefile