Revert "abuild: replace command -v with which to fix build issues"

This reverts commit 57f2830739.

https://github.com/alpinelinux/aports/pull/7203 fixes the original problem
This commit is contained in:
Mike Sullivan 2019-04-22 19:34:50 +00:00 committed by Natanael Copa
parent 29bf802907
commit 369e7069b8

View File

@ -1604,7 +1604,7 @@ check() {
# predefined splitfunc doc
default_doc() {
local gzip=$(which pigz || echo gzip)
local gzip=$(command -v pigz || echo gzip)
depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)"
install_if="docs $pkgname=$pkgver-r$pkgrel"