summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2007-02-06 19:29:08 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2007-02-06 19:29:08 +0000
commit94ce4136cd613e4f77e51f98085b68c5f2b0ec45 (patch)
tree9b7632346a71f973bcef919de6dd0feabac39781
parentClean up readme; improve toolchain-funcs specs parsing (diff)
downloadkevquinn-94ce4136cd613e4f77e51f98085b68c5f2b0ec45.tar.gz
kevquinn-94ce4136cd613e4f77e51f98085b68c5f2b0ec45.tar.bz2
kevquinn-94ce4136cd613e4f77e51f98085b68c5f2b0ec45.zip
Hmm; what was that I was saying about non-terminating loops :/
svn path=/; revision=171
-rw-r--r--hardened/toolchain/branches/pieworld/eclass/toolchain-funcs.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/hardened/toolchain/branches/pieworld/eclass/toolchain-funcs.eclass b/hardened/toolchain/branches/pieworld/eclass/toolchain-funcs.eclass
index de346c6..d9d46c5 100644
--- a/hardened/toolchain/branches/pieworld/eclass/toolchain-funcs.eclass
+++ b/hardened/toolchain/branches/pieworld/eclass/toolchain-funcs.eclass
@@ -214,7 +214,7 @@ gcc-specs-directive() {
local directive subdname subdirective
directive="$(gcc-specs-directive_raw $1)"
while [[ ${directive} == *%\(*\)* ]]; do
- subdname=${d/*%\(}
+ subdname=${directive/*%\(}
subdname=${subdname/\)*}
subdirective="$(gcc-specs-directive_raw ${subdname})"
directive="${directive//\%(${subname})/${subdirective}}"