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

This commit is contained in:
Mike Sullivan 2019-02-27 15:28:50 +00:00 committed by Natanael Copa
parent 0a79fc62c9
commit 57f2830739
1 changed files with 1 additions and 1 deletions

View File

@ -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"