Update script to use /usr/bin/env bash…
… instead of /bin/bash, to work better on more platforms. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
1b85dd0455
commit
65f81990a7
17 changed files with 18 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
set -o nounset
|
||||
|
@ -6,7 +6,7 @@ set -o nounset
|
|||
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"; export SCRIPTDIR
|
||||
source "${SCRIPTDIR}/.validate"
|
||||
|
||||
# Iterate over all directories containing vendor folders.
|
||||
# Iterate over all directories containing templates folders.
|
||||
IFS=$'\n' files=( $(validate_diff --diff-filter=ACMR --name-only -- templates || true) )
|
||||
|
||||
if [[ ${#files[@]} -gt 0 ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue