summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-15 18:04:08 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-15 18:04:08 +0000
commit79f241d2787adcb74fc095cf2ef8dcf7342dee30 (patch)
tree0fd565d2d450c5cff099fd281c4271a6b62b7c14 /eclass/flag-o-matic.eclass
parentVersion bump dev-haskell/uulib (diff)
downloadgentoo-2-79f241d2787adcb74fc095cf2ef8dcf7342dee30.tar.gz
gentoo-2-79f241d2787adcb74fc095cf2ef8dcf7342dee30.tar.bz2
gentoo-2-79f241d2787adcb74fc095cf2ef8dcf7342dee30.zip
Bug #281311 - Escape ~ inside strip-flags().
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 4010b1d8bdc0..4abce864de30 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.142 2009/07/29 08:32:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.143 2009/08/15 18:04:08 zmedico Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -325,7 +325,7 @@ strip-flags() {
local NEW_FCFLAGS=""
# Allow unstable C[XX]FLAGS if we are using unstable profile ...
- if has ~$(tc-arch) ${ACCEPT_KEYWORDS} ; then
+ if has \~$(tc-arch) ${ACCEPT_KEYWORDS} ; then
ALLOWED_FLAGS="${ALLOWED_FLAGS} ${UNSTABLE_FLAGS}"
fi