From e7d9cb5ceb9bb14390fd6fad34f4f92890149520 Mon Sep 17 00:00:00 2001 From: parazyd Date: Fri, 5 May 2017 18:48:21 +0200 Subject: [PATCH] try a different xz call with an array --- zlibs/imaging | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zlibs/imaging b/zlibs/imaging index b508915..1328f90 100644 --- a/zlibs/imaging +++ b/zlibs/imaging @@ -114,12 +114,12 @@ image_pack_dist() { zerr } - _xz="xz -zv" + _xz=(xz -zv) [[ $(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