Use correct bash binary in Makefile

This commit is contained in:
Denis Isidoro 2021-08-07 15:46:07 -03:00 committed by GitHub
parent 02fc83991b
commit 425ce80530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,5 @@
export PATH := /usr/local/opt/bash/bin/:$(PATH)
install:
scripts/make install
@ -8,4 +10,7 @@ fix:
scripts/make fix
test:
scripts/test
scripts/test
build:
cargo build

View file

@ -4,6 +4,4 @@ set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
source "${NAVI_HOME}/scripts/install"
export PATH="/usr/local/opt/bash/bin/:${PATH}"
"${NAVI_HOME}/tests/run"

View file

@ -48,7 +48,6 @@ test::equals() {
local -r actual="$(cat)"
local -r expected="$(echo "${1:-}")"
local -r actual2="$(echo "$actual" | test::_escape)"
local -r expected2="$(echo "$expected" | test::_escape)"