summarylogtreecommitdiffstats
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
parentbc5ebfb40a78efc0939aa6b50349dc6fd8ac30aa (diff)
downloadaur-d5e4ea7ee665439d184f3d104cf9c5b6e343a99d.tar.gz
upgpkg: bats-core-git v1.2.0.r26.gb0671a6-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
-rw-r--r--fix-libexec-path.patch6
3 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 912f81d64fe..34ff5b44783 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bats-core-git
pkgdesc = Bash Automated Testing System
- pkgver = v1.1.0.r108.g87b16eb
- pkgrel = 2
+ pkgver = v1.2.0.r26.gb0671a6
+ pkgrel = 1
url = https://github.com/bats-core/bats-core
arch = any
license = MIT
@@ -12,7 +12,7 @@ pkgbase = bats-core-git
source = git+https://github.com/bats-core/bats-core
source = fix-libexec-path.patch
sha256sums = SKIP
- sha256sums = 89a7f67f4590abbada4b735174db1e7694cc83a371d4668c3150866340898dbd
+ sha256sums = 1195fa67108f42eac2028dabcf65b7dc687ebcfab8c33f34f481bc8d6d4a56dd
pkgname = bats-core-git
diff --git a/PKGBUILD b/PKGBUILD
index 2defd6c2081..e3054e7843f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,9 +4,9 @@
_name=bats-core
pkgname=$_name-git
-pkgver=v1.1.0.r108.g87b16eb
+pkgver=v1.2.0.r26.gb0671a6
_mainfolder=$_name
-pkgrel=2
+pkgrel=1
pkgdesc='Bash Automated Testing System'
arch=(any)
url=https://github.com/bats-core/bats-core
@@ -15,7 +15,7 @@ depends=(bash)
makedepends=(git)
source=("git+$url" fix-libexec-path.patch)
sha256sums=('SKIP'
- '89a7f67f4590abbada4b735174db1e7694cc83a371d4668c3150866340898dbd')
+ '1195fa67108f42eac2028dabcf65b7dc687ebcfab8c33f34f481bc8d6d4a56dd')
conflicts=(bash-bats)
provides=(bash-bats)
diff --git a/fix-libexec-path.patch b/fix-libexec-path.patch
index bd741682449..e4a119cf089 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" "$@"