mirror of
https://github.com/denisidoro/navi
synced 2024-12-04 17:29:31 +00:00
Use correct bash binary in Makefile
This commit is contained in:
parent
02fc83991b
commit
425ce80530
3 changed files with 6 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -1,3 +1,5 @@
|
||||||
|
export PATH := /usr/local/opt/bash/bin/:$(PATH)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
scripts/make install
|
scripts/make install
|
||||||
|
|
||||||
|
@ -9,3 +11,6 @@ fix:
|
||||||
|
|
||||||
test:
|
test:
|
||||||
scripts/test
|
scripts/test
|
||||||
|
|
||||||
|
build:
|
||||||
|
cargo build
|
|
@ -4,6 +4,4 @@ set -euo pipefail
|
||||||
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
|
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
source "${NAVI_HOME}/scripts/install"
|
source "${NAVI_HOME}/scripts/install"
|
||||||
|
|
||||||
export PATH="/usr/local/opt/bash/bin/:${PATH}"
|
|
||||||
|
|
||||||
"${NAVI_HOME}/tests/run"
|
"${NAVI_HOME}/tests/run"
|
|
@ -48,7 +48,6 @@ test::equals() {
|
||||||
local -r actual="$(cat)"
|
local -r actual="$(cat)"
|
||||||
local -r expected="$(echo "${1:-}")"
|
local -r expected="$(echo "${1:-}")"
|
||||||
|
|
||||||
|
|
||||||
local -r actual2="$(echo "$actual" | test::_escape)"
|
local -r actual2="$(echo "$actual" | test::_escape)"
|
||||||
local -r expected2="$(echo "$expected" | test::_escape)"
|
local -r expected2="$(echo "$expected" | test::_escape)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue