Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 0387249

Browse files
josuedhgphmccarty
authored andcommitted
change xz for zstd
Fixes #4 Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
1 parent bca3bde commit 0387249

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/clr_debug_prepare

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,17 @@ process_one() {
6666

6767
mkdir -p "$destdir"
6868
if [ "$filetype" = "f" ]; then
69-
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
69+
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
7070
elif [ "$filetype" = "l" ]; then
7171
# We "unsymlink" non-broken symlinks as an optimization by adding the
7272
# symlink target to the dest tarball, transforming the name as appropriate.
7373
if target=$(realpath -e "$srcloc" --relative-to="$srcdir" 2> /dev/null); then
74-
tar --no-recursion -C "$srcdir" -Jcf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target"
74+
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target"
7575
else
76-
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
76+
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
7777
fi
7878
elif [ "$filetype" = "d" ]; then
79-
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
79+
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
8080
fi
8181
}
8282
export -f process_one

0 commit comments

Comments
 (0)