diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | brp-compress | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -4,6 +4,7 @@ - sync brp-compress with upstream rpm.org: o add *.xz and *.lzma recompress support o avoid some unnecessary command invocations in scripts + o make sure brp-compress doesn't go interactive in corner cases - sync find-debuginfo.sh with upstream rpm.org: o add -r flag to find-debuginfo.sh to invoke eu-strip --reloc-debug-sections (Mark Wielaard, 2011-05-25) diff --git a/brp-compress b/brp-compress index d8f9f03..e4da043 100755 --- a/brp-compress +++ b/brp-compress @@ -24,9 +24,9 @@ do [ -f "$f" ] || continue case "$f" in - *.gz|*.Z) gunzip $f; b=`echo $f | sed -e 's/\.\(gz\|Z\)$//'`;; - *.bz2) bunzip2 $f; b=`echo $f | sed -e 's/\.bz2$//'`;; - *.xz|*.lzma) unxz $f; b=`echo $f | sed -e 's/\.\(xz\|lzma\)$//'`;; + *.gz|*.Z) gunzip -f $f; b=`echo $f | sed -e 's/\.\(gz\|Z\)$//'`;; + *.bz2) bunzip2 -f $f; b=`echo $f | sed -e 's/\.bz2$//'`;; + *.xz|*.lzma) unxz -f $f; b=`echo $f | sed -e 's/\.\(xz\|lzma\)$//'`;; *) b=$f;; esac |