diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-06 18:48:09 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-06 18:48:09 -0600 |
commit | 4367afaa84380a6025766248c9c8d868945e9227 (patch) | |
tree | 76cdd74fc3a0abdea536dbbab20f643c747bbfa6 /abuild.in | |
parent | 8dd868c739fbe399ae95abdb8f540b40c6fc2265 (diff) | |
download | abuild-4367afaa84380a6025766248c9c8d868945e9227.tar.gz abuild-4367afaa84380a6025766248c9c8d868945e9227.tar.bz2 abuild-4367afaa84380a6025766248c9c8d868945e9227.tar.xz abuild-4367afaa84380a6025766248c9c8d868945e9227.zip |
abuild: command -v is the only portable solution
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1591,7 +1591,7 @@ check() { # predefined splitfunc doc default_doc() { - local gzip=$(which pigz || echo gzip) + local gzip=$(command -v pigz gzip | head -1) depends="$depends_doc" pkgdesc="$pkgdesc (documentation)" install_if="docs $pkgname=$pkgver-r$pkgrel" |