diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2004-02-21 21:23:51 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2004-02-21 21:23:51 +0000 |
commit | cde5a441a2f605a8c6ebd55888d3a9d8b0486068 (patch) | |
tree | edce324c0e724101321736956e1a1c8635704989 /eclass | |
parent | Marked as stable (Manifest recommit) (diff) | |
download | gentoo-2-cde5a441a2f605a8c6ebd55888d3a9d8b0486068.tar.gz gentoo-2-cde5a441a2f605a8c6ebd55888d3a9d8b0486068.tar.bz2 gentoo-2-cde5a441a2f605a8c6ebd55888d3a9d8b0486068.zip |
Add arch() helper function to save space when checking ARCH.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfree.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/xfree.eclass b/eclass/xfree.eclass index ca18fd6af5b2..8991e1b54d71 100644 --- a/eclass/xfree.eclass +++ b/eclass/xfree.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.12 2004/01/29 16:18:07 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfree.eclass,v 1.13 2004/02/21 21:23:51 spyderous Exp $ # # Author: Seemant Kulleen <seemant@gentoo.org> # @@ -87,3 +87,7 @@ strip_bins() { fi done } + +arch() { + [ "${ARCH}" = "${1}" ] +} |