commit e7d9cb5ceb9bb14390fd6fad34f4f92890149520
parent 01fceed8977e979aaa30fc6b778a54f905ef6ce9
Author: parazyd <parazyd@dyne.org>
Date: Fri, 5 May 2017 18:48:21 +0200
try a different xz call with an array
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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