aboutsummaryrefslogtreecommitdiffstats
path: root/community/fzf
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-10-31 06:18:34 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-31 08:16:11 +0000
commitf299ad93ca03aa23fedd9a36e47d309e9e10f5cd (patch)
treedbf49e04aee52f389fe8444270789b3b874e6da5 /community/fzf
parentd527f562a1ae4e54febb7c7cf90b11fbb9ebdfa7 (diff)
downloadaports-f299ad93ca03aa23fedd9a36e47d309e9e10f5cd.tar.bz2
aports-f299ad93ca03aa23fedd9a36e47d309e9e10f5cd.tar.xz
community/fzf: fix style issues
Diffstat (limited to 'community/fzf')
-rw-r--r--community/fzf/APKBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/community/fzf/APKBUILD b/community/fzf/APKBUILD
index 2c91df2054..95124ac33b 100644
--- a/community/fzf/APKBUILD
+++ b/community/fzf/APKBUILD
@@ -28,7 +28,6 @@ prepare() {
mkdir -p "$(dirname "$builddir")"
mv "$srcdir"/$pkgname-$pkgver "$builddir"/
- cd "$builddir"
cp "$srcdir"/glide.yaml "$srcdir"/glide.lock .
glide install --skip-test
@@ -36,12 +35,11 @@ prepare() {
}
build() {
- cd "$builddir"
go build
}
check() {
- cd "$builddir"
+ # shellcheck disable=SC1007
SHELL=/bin/sh GOOS= go test -v \
github.com/junegunn/fzf/src \
github.com/junegunn/fzf/src/algo \
@@ -50,7 +48,6 @@ check() {
}
package() {
- cd "$builddir"
install -Dm0755 fzf "$pkgdir"/usr/bin/fzf
install -D man/man1/fzf.1 "$pkgdir"/usr/share/man/man1/fzf.1