try a different xz call with an array
This commit is contained in:
parent
01fceed897
commit
e7d9cb5ceb
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue