diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2010-08-28 09:20:23 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-28 16:12:11 -0700 |
commit | 59ea804b01cd711d4235e46e4cc4fdef8390d5fe (patch) | |
tree | 397852ab56ee19e7031b874cd335bf5a4bb02b46 /bin/ebuild-helpers/dodoc | |
parent | 87b1b094b789f414da007214bbd3f651671f084f (diff) | |
download | portage-59ea804b01cd711d4235e46e4cc4fdef8390d5fe.tar.gz portage-59ea804b01cd711d4235e46e4cc4fdef8390d5fe.tar.bz2 portage-59ea804b01cd711d4235e46e4cc4fdef8390d5fe.zip |
Implement controllable compression and docompress, bug #273633.
Diffstat (limited to 'bin/ebuild-helpers/dodoc')
-rwxr-xr-x | bin/ebuild-helpers/dodoc | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |