mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -05:00
Fixed up fix
This commit is contained in:
parent
d8b979bee1
commit
8099ec1c8b
1 changed files with 5 additions and 5 deletions
10
mkstage4.sh
10
mkstage4.sh
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue