summarylogtreecommitdiffstats
path: root/fix-libexec-path.patch
diff options
context:
space:
mode:
authorAndre Schröder2020-04-28 00:30:33 +0200
committerAndre Schröder2020-04-28 00:30:33 +0200
commitd5e4ea7ee665439d184f3d104cf9c5b6e343a99d (patch)
tree5f3fe082d4e94840f334e2da73b3d6bfd3c6d621 /fix-libexec-path.patch
parentbc5ebfb40a78efc0939aa6b50349dc6fd8ac30aa (diff)
downloadaur-d5e4ea7ee665439d184f3d104cf9c5b6e343a99d.tar.gz
upgpkg: bats-core-git v1.2.0.r26.gb0671a6-1
Diffstat (limited to 'fix-libexec-path.patch')
-rw-r--r--fix-libexec-path.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/fix-libexec-path.patch b/fix-libexec-path.patch
index bd7416824497..e4a119cf0891 100644
--- a/fix-libexec-path.patch
+++ b/fix-libexec-path.patch
@@ -2,9 +2,9 @@ diff --git a/bin/bats b/bin/bats
index a852306..ce7f883 100755
--- a/bin/bats
+++ b/bin/bats
-@@ -41,4 +41,4 @@ bats_resolve_absolute_root_dir() {
+@@ -66,4 +66,4 @@ bats_resolve_absolute_root_dir() {
export BATS_ROOT
bats_resolve_absolute_root_dir "$0" 'BATS_ROOT'
--exec "$BATS_ROOT/libexec/bats-core/bats" "$@"
-+exec "$BATS_ROOT/lib/bats/bats" "$@"
+-exec env BATS_ROOT="$BATS_ROOT" "$BATS_ROOT/libexec/bats-core/bats" "$@"
++exec env BATS_ROOT="$BATS_ROOT" "$BATS_ROOT/lib/bats/bats" "$@"