summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-05-30 02:05:13 +0000
committerZac Medico <zmedico@gentoo.org>2007-05-30 02:05:13 +0000
commit3bde1a583b097d9edf6cf0fbd1d3649c899bac2c (patch)
treeb8a353f94a1d72659de3e75388671eaebd99f7e9
parentcc6ece6b117cfcb76ef489b286e98f215458a524 (diff)
downloadportage-3bde1a583b097d9edf6cf0fbd1d3649c899bac2c.tar.gz
portage-3bde1a583b097d9edf6cf0fbd1d3649c899bac2c.tar.bz2
portage-3bde1a583b097d9edf6cf0fbd1d3649c899bac2c.zip
For bug #180222, make ecompressdir use -f for the automatic decompression phase.
svn path=/main/trunk/; revision=6667
-rwxr-xr-xbin/ecompressdir6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ecompressdir b/bin/ecompressdir
index b45f760d7..60bc6986b 100755
--- a/bin/ecompressdir
+++ b/bin/ecompressdir
@@ -115,9 +115,9 @@ for dir in "$@" ; do
find "${dir}" -type f -name '*.ecompress.file' -print0 | ${XARGS} -0 rm -f
# not uncommon for packages to compress doc files themselves
- funk_up_dir "decompress" ".Z" "gunzip"
- funk_up_dir "decompress" ".gz" "gunzip"
- funk_up_dir "decompress" ".bz2" "bunzip2"
+ funk_up_dir "decompress" ".Z" "gunzip -f"
+ funk_up_dir "decompress" ".gz" "gunzip -f"
+ funk_up_dir "decompress" ".bz2" "bunzip2 -f"
# forcibly break all hard links as some compressors whine about it
find "${dir}" -type f -links +1 -exec env file="{}" sh -c \