summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-11 13:02:05 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-11 13:02:05 +0000
commitabacfbdbcfe52e65dd6eb7aaf1e66328e69ced1d (patch)
tree63f46f0da342b4511abce8e475a4b92b3c46b91c /eclass/flag-o-matic.eclass
parentrepoman details (diff)
downloadgentoo-2-abacfbdbcfe52e65dd6eb7aaf1e66328e69ced1d.tar.gz
gentoo-2-abacfbdbcfe52e65dd6eb7aaf1e66328e69ced1d.tar.bz2
gentoo-2-abacfbdbcfe52e65dd6eb7aaf1e66328e69ced1d.zip
change use syntax to the right form
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index f5bd2024eb98..3008bfeb9e0a 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.48 2004/05/06 02:36:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.49 2004/05/11 13:02:05 vapier Exp $
#
# Author Bart Verwilst <verwilst@gentoo.org>
@@ -183,8 +183,8 @@ strip-flags() {
local NEW_CXXFLAGS=""
# Allow unstable C[XX]FLAGS if we are using unstable profile ...
- if [ `has ~${ARCH} ${ACCEPT_KEYWORDS}` ] ; then
- [ `use debug` ] && einfo "Enabling the use of some unstable flags"
+ if has ~${ARCH} ${ACCEPT_KEYWORDS} ; then
+ use debug && einfo "Enabling the use of some unstable flags"
ALLOWED_FLAGS="${ALLOWED_FLAGS} ${UNSTABLE_FLAGS}"
fi
@@ -226,7 +226,7 @@ strip-flags() {
set +f
- [ `use debug` ] \
+ use debug \
&& einfo "CFLAGS=\"${NEW_CFLAGS}\"" \
&& einfo "CXXFLAGS=\"${NEW_CXXFLAGS}\""