From 59ea804b01cd711d4235e46e4cc4fdef8390d5fe Mon Sep 17 00:00:00 2001 From: Ulrich Mueller Date: Sat, 28 Aug 2010 09:20:23 +0200 Subject: Implement controllable compression and docompress, bug #273633. --- bin/ebuild-helpers/dodoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild-helpers/dodoc') diff --git a/bin/ebuild-helpers/dodoc b/bin/ebuild-helpers/dodoc index 29b690112..99410ea85 100755 --- a/bin/ebuild-helpers/dodoc +++ b/bin/ebuild-helpers/dodoc @@ -18,7 +18,7 @@ ret=0 for x in "$@" ; do if [ -s "${x}" ] ; then install -m0644 "${x}" "${dir}" - ecompress --queue "${dir}/${x##*/}" + hasq "${EAPI}" 0 1 2 3 && ecompress --queue "${dir}/${x##*/}" elif [ ! -e "${x}" ] ; then echo "!!! ${0##*/}: $x does not exist" 1>&2 ((ret|=1)) -- cgit v1.2.3-1-g7c22