summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index 12c875c..39276b8 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1465,7 +1465,7 @@ human_size() {
create_apks() {
local file= dir= name= ver= apk= datadir= size=
- local gzip=$(command -v pigz gzip | head -1)
+ local gzip=$(command -v pigz || echo gzip)
getpkgver || return 1
if ! options_has "!tracedeps"; then
for file in "$pkgbasedir"/.control.*/.PKGINFO; do
@@ -1598,7 +1598,7 @@ check() {
# predefined splitfunc doc
default_doc() {
- local gzip=$(command -v pigz gzip | head -1)
+ local gzip=$(command -v pigz || echo gzip)
depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)"
install_if="docs $pkgname=$pkgver-r$pkgrel"