ttry a different xz call with an array - libdevuansdk - common library for devuan's simple distro kits
HTML git clone https://git.parazyd.org/libdevuansdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit e7d9cb5ceb9bb14390fd6fad34f4f92890149520
DIR parent 01fceed8977e979aaa30fc6b778a54f905ef6ce9
HTML Author: parazyd <parazyd@dyne.org>
Date: Fri, 5 May 2017 18:48:21 +0200
ttry a different xz call with an array
Diffstat:
M zlibs/imaging | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/zlibs/imaging b/zlibs/imaging
t@@ -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