From 07d1f39ce6a9c5f624bcdc6f1a40766eb37ba5e9 Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 24 Jul 2017 20:22:21 +0200 Subject: [PATCH] fix xz discovery --- zlibs/imaging | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zlibs/imaging b/zlibs/imaging index 4958769..5a7310e 100644 --- a/zlibs/imaging +++ b/zlibs/imaging @@ -116,11 +116,11 @@ image_pack_dist() { } _xz=(xz -zv) - [[ $(command -v pixz) ]] && _xz=pixz + [[ $(command -v pixz) ]] && _xz=(pixz) notice "compressing image with $_xz" silly pushd $workdir - ${_xz} "${image_name}.img" + ${=_xz} "${image_name}.img" notice "generating sha256 for ${image_name}.img.xz" sha256sum ${image_name}.img.xz > ${image_name}.img.xz.sha