Skip to content

Commit

Permalink
Use correct bash binary in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
denisidoro committed Aug 7, 2021
1 parent 02fc839 commit 425ce80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Makefile
@@ -1,3 +1,5 @@
export PATH := /usr/local/opt/bash/bin/:$(PATH)

install:
scripts/make install

Expand All @@ -8,4 +10,7 @@ fix:
scripts/make fix

test:
scripts/test
scripts/test

build:
cargo build
2 changes: 0 additions & 2 deletions scripts/test
Expand Up @@ -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"
1 change: 0 additions & 1 deletion tests/core.bash
Expand Up @@ -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)"

Expand Down

0 comments on commit 425ce80

Please sign in to comment.