Fixed up fix

This commit is contained in:
Horea Christian 2022-09-12 12:11:20 -04:00
parent d8b979bee1
commit 8099ec1c8b

View file

@ -241,10 +241,10 @@ fi
COMP_OPTIONS=("${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}")
# This currently breaks the command, and is temporarily disables, see:
# https://github.com/TheChymera/mkstage4/issues/46
#if [[ "${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}" == *"/xz" ]]
#then
# COMP_OPTIONS+=("-T0")
#fi
if [[ "${COMPRESS_AVAILABLE[$COMPRESS_TYPE]}" == *"/xz" ]]
then
COMP_OPTIONS+=( "-T0" )
fi
# Generic tar options:
TAR_OPTIONS=(
@ -252,7 +252,7 @@ TAR_OPTIONS=(
--ignore-failed-read
"--xattrs-include='*.*'"
--numeric-owner
"--use-compress-prog=\"${COMP_OPTIONS[*]}\""
"--use-compress-prog=${COMP_OPTIONS[*]}"
)
# if not in quiet mode, this message will be displayed: