summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2019-02-27 15:28:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-03-05 11:28:04 +0000
commit57f2830739e31f9c73d2edaf5103502fbdae6822 (patch)
treeadc46228cec1da635400952265b24877c693d911
parent0a79fc62c9d0aa30eb42ff4251701eee2368309d (diff)
downloadabuild-57f2830739e31f9c73d2edaf5103502fbdae6822.tar.bz2
abuild-57f2830739e31f9c73d2edaf5103502fbdae6822.tar.xz
abuild: replace command -v with which to fix build issues
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index d03e35f..1eae77a 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1597,7 +1597,7 @@ check() {
# predefined splitfunc doc
default_doc() {
- local gzip=$(command -v pigz || echo gzip)
+ local gzip=$(which pigz || echo gzip)
depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)"
install_if="docs $pkgname=$pkgver-r$pkgrel"