For bug #180222, make ecompressdir use -f for the automatic decompression phase....
authorZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 02:05:41 +0000 (02:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 30 May 2007 02:05:41 +0000 (02:05 -0000)
svn path=/main/branches/2.1.2/; revision=6668

bin/ecompressdir

index d43861dbc1567b6b93417d68c968a30c8a993264..8b1ab17491dda3ba713095e805a12b3f8e163b3f 100755 (executable)
@@ -56,9 +56,9 @@ for dir in "$@" ; do
        dir=. # use relative path to avoid 'Argument list too long' errors
 
        # 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 \