/bin/bash replaced with /usr/bin/env bash to match other scripts

This commit is contained in:
Petyo Kunchev 2020-11-16 16:38:04 +02:00 committed by GitHub
parent 598dcf6b62
commit 0fcccd35ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
if ! test -e autogen/genstatic/gen.go; then if ! test -e autogen/genstatic/gen.go; then

View file

@ -1,4 +1,5 @@
#!/bin/bash -e #!/usr/bin/env bash
set -e
HACK_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export HACK_DIR HACK_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export HACK_DIR
REPO_ROOT=${HACK_DIR}/.. REPO_ROOT=${HACK_DIR}/..