diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-05-11 13:02:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-05-11 13:02:05 +0000 |
commit | bdcbffef8343e7fa48e92943ba011e0155fbd4cf (patch) | |
tree | f528addfd816e8707d8aa93d571c1908e9bde57c /eclass/flag-o-matic.eclass | |
parent | repoman details (diff) | |
download | historical-bdcbffef8343e7fa48e92943ba011e0155fbd4cf.tar.gz historical-bdcbffef8343e7fa48e92943ba011e0155fbd4cf.tar.bz2 historical-bdcbffef8343e7fa48e92943ba011e0155fbd4cf.zip |
change use syntax to the right form
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 8 |
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}\"" |