fix(build): use /usr/bin/env bash instead of /bin/bash (#1020)

* fix: add to various other shell scripts
This commit is contained in:
Anish Lakhwara 2023-07-29 14:50:04 +10:00 committed by GitHub
parent c76dd10928
commit d8502da885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# remove old config
rm /etc/nginx/conf.d/default.conf

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
CURR=$(dirname "${BASH_SOURCE[0]}")
docker build -t ${REGISTRY}webrecorder/browsertrix-backend:latest $CURR/../backend/

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
CURR=$(dirname "${BASH_SOURCE[0]}")
docker build --build-arg GIT_COMMIT_HASH="$(git rev-parse --short HEAD)" --build-arg GIT_BRANCH_NAME="$(git rev-parse --abbrev-ref HEAD)" --build-arg --load -t ${REGISTRY}webrecorder/browsertrix-frontend:latest $CURR/../frontend/

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
version=`cat version.txt`
jq ".version=\"$version\"" ./frontend/package.json > ./tmp-package.json