From cde5a441a2f605a8c6ebd55888d3a9d8b0486068 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Sat, 21 Feb 2004 21:23:51 +0000 Subject: Add arch() helper function to save space when checking ARCH. --- eclass/xfree.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eclass') 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 # @@ -87,3 +87,7 @@ strip_bins() { fi done } + +arch() { + [ "${ARCH}" = "${1}" ] +} -- cgit v1.2.3-65-gdbad