projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25db41a
)
Don't compress empty files, bug 340935.
author
Ulrich Mueller
<ulm@gentoo.org>
Thu, 14 Oct 2010 07:52:00 +0000
(09:52 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 14 Oct 2010 08:19:21 +0000
(
01:19
-0700)
bin/ebuild-helpers/ecompress
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/ecompress
b/bin/ebuild-helpers/ecompress
index ef01cd4e0b97aa21a48c9a1a1ff1c121747af0da..ed19ffb1b34479bdcfe98d64d379cf823991b508 100755
(executable)
--- a/
bin/ebuild-helpers/ecompress
+++ b/
bin/ebuild-helpers/ecompress
@@
-132,6
+132,7
@@
case $1 in
i=0
for x in "$@" ; do
[[ ${x##*.} =~ $mask_ext_re ]] && continue
+ [[ -s ${x} ]] || continue
filtered_args[$i]=$x
((i++))
done