Skip to content

Commit

Permalink
Fixed up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Sep 12, 2022
1 parent d8b979b commit 8099ec1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mkstage4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,18 +241,18 @@ 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=(
-cpP
--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:
Expand Down

0 comments on commit 8099ec1

Please sign in to comment.