diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-27 09:26:36 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-27 09:26:36 +0200 |
commit | 010b342d6229ae633c84282dbb6b9e5a9d2127b0 (patch) | |
tree | 996157058fbac10378b04fb3fc111745385c0cd7 /scripts | |
parent | fa462d69571cfe7321b2a5d8dcafa4db0a4831ae (diff) | |
download | rpm-010b342d6229ae633c84282dbb6b9e5a9d2127b0.tar.gz rpm-010b342d6229ae633c84282dbb6b9e5a9d2127b0.tar.bz2 rpm-010b342d6229ae633c84282dbb6b9e5a9d2127b0.zip |
Make sure brp-compress doesn't go interactive in corner cases
- add --force to uncompressing so in corner cases it'll just overwrite
instead of stopping to ask interactively
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/brp-compress | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/brp-compress b/scripts/brp-compress index 2c2823742..3c8e7577b 100755 --- a/scripts/brp-compress +++ b/scripts/brp-compress @@ -23,9 +23,9 @@ do [ "`basename $f`" = "dir" ] && 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 |