mirror of
https://github.com/clearlinux/clr-debug-info.git
synced 2026-09-06 13:51:38 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cd99f98ed | ||
|
|
0387249d7a |
+1
-1
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.66])
|
||||
AC_INIT(clr-debug-info, 50, arjan@linux.intel.com)
|
||||
AC_INIT(clr-debug-info, 51, arjan@linux.intel.com)
|
||||
AM_INIT_AUTOMAKE([foreign -Wall -W subdir-objects])
|
||||
AM_SILENT_RULES([yes])
|
||||
AC_PROG_CC
|
||||
|
||||
@@ -66,17 +66,17 @@ process_one() {
|
||||
|
||||
mkdir -p "$destdir"
|
||||
if [ "$filetype" = "f" ]; then
|
||||
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
|
||||
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
|
||||
elif [ "$filetype" = "l" ]; then
|
||||
# We "unsymlink" non-broken symlinks as an optimization by adding the
|
||||
# symlink target to the dest tarball, transforming the name as appropriate.
|
||||
if target=$(realpath -e "$srcloc" --relative-to="$srcdir" 2> /dev/null); then
|
||||
tar --no-recursion -C "$srcdir" -Jcf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target"
|
||||
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" --transform='s|.*|'"$tarcontent"'|' "$target"
|
||||
else
|
||||
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
|
||||
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
|
||||
fi
|
||||
elif [ "$filetype" = "d" ]; then
|
||||
tar --no-recursion -C "$srcdir" -Jcf "$dest" "$tarcontent"
|
||||
tar --no-recursion -C "$srcdir" --zstd -cf "$dest" "$tarcontent"
|
||||
fi
|
||||
}
|
||||
export -f process_one
|
||||
|
||||
Reference in New Issue
Block a user