Unverified Commit 8dd868c7 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

abuild: slightly cleaner way to deduce pigz presence

parent a715a45b
...@@ -1459,7 +1459,7 @@ human_size() { ...@@ -1459,7 +1459,7 @@ human_size() {
create_apks() { create_apks() {
local file= dir= name= ver= apk= datadir= size= local file= dir= name= ver= apk= datadir= size=
local gzip=$(command -v pigz || echo gzip) local gzip=$(command -v pigz gzip | head -1)
getpkgver || return 1 getpkgver || return 1
if ! options_has "!tracedeps"; then if ! options_has "!tracedeps"; then
for file in "$pkgbasedir"/.control.*/.PKGINFO; do for file in "$pkgbasedir"/.control.*/.PKGINFO; do
......
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