summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-06-23 22:12:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-06-23 22:12:26 +0000
commit3a59dc8a8524c6749aea5570432f0156711edbe2 (patch)
treeec7fad6227da628f366628fae67631b96f9a199d /eclass/pcmcia.eclass
parentno longer stable on x86 nor ppc (Manifest recommit) (diff)
downloadgentoo-2-3a59dc8a8524c6749aea5570432f0156711edbe2.tar.gz
gentoo-2-3a59dc8a8524c6749aea5570432f0156711edbe2.tar.bz2
gentoo-2-3a59dc8a8524c6749aea5570432f0156711edbe2.zip
fix use invocation
Diffstat (limited to 'eclass/pcmcia.eclass')
-rw-r--r--eclass/pcmcia.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/pcmcia.eclass b/eclass/pcmcia.eclass
index 63f2300c27db..e81570cd1f39 100644
--- a/eclass/pcmcia.eclass
+++ b/eclass/pcmcia.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/pcmcia.eclass,v 1.3 2004/04/11 05:46:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/pcmcia.eclass,v 1.4 2004/06/23 22:08:30 mr_bones_ Exp $
# pcmcia.eclass - This eclass facilities writing ebuilds for driver packages
# that may need to build against the pcmcia-cs drivers, depending on kernel
@@ -54,7 +54,7 @@ pcmcia_src_unpack()
{
cd ${WORKDIR}
- if [ -n "`use pcmcia`" ]; then
+ if use pcmcia ; then
if egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null
then
# Sadly, we still need to download these sources in SRC_URI
@@ -96,7 +96,7 @@ pcmcia_src_unpack()
# Call this if you need the package configured for building to work
pcmcia_configure()
{
- if [ -n "`use pcmcia`" ]; then
+ if use pcmcia ; then
if ! egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null
then
cd ${PCMCIA_SOURCE_DIR}