Unverified Commit 4367afaa authored by A. Wilcox's avatar A. Wilcox
Browse files

abuild: command -v is the only portable solution

parent 8dd868c7
......@@ -1591,7 +1591,7 @@ check() {
# predefined splitfunc doc
default_doc() {
local gzip=$(which pigz || echo gzip)
local gzip=$(command -v pigz gzip | head -1)
pkgdesc="$pkgdesc (documentation)"
install_if="docs $pkgname=$pkgver-r$pkgrel"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment