From: | Mike Frysinger <vapier@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] new `usex` helper | ||
Date: | Wed, 21 Sep 2011 19:25:53 | ||
Message-Id: | 201109211525.13673.vapier@gentoo.org | ||
In Reply to: | [gentoo-dev] new `usex` helper by Mike Frysinger |
1 | since there's been no new feedback in a while, i'll add this to eutils.eclass |
2 | in a while: |
3 | usex() { use "$1" && echo "${2-yes}$4" || echo "${3-no}$5" ; } |
4 | |
5 | then once it hits the PMS, i'll put EAPI wrapping around it. |
6 | -mike |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |