From 16c0a31c7d32718c6052aa57e901c7b30b868e63 Mon Sep 17 00:00:00 2001 From: "Kevin F. Quinn" Date: Wed, 20 Dec 2006 12:18:27 +0000 Subject: Fix cut-n-paste error in new gcc-specs-directive svn path=/; revision=133 --- .../branches/gcc-glibc-nopie/eclass/toolchain-funcs.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hardened/toolchain/branches/gcc-glibc-nopie/eclass/toolchain-funcs.eclass b/hardened/toolchain/branches/gcc-glibc-nopie/eclass/toolchain-funcs.eclass index 5d6786f..ee6d1d3 100644 --- a/hardened/toolchain/branches/gcc-glibc-nopie/eclass/toolchain-funcs.eclass +++ b/hardened/toolchain/branches/gcc-glibc-nopie/eclass/toolchain-funcs.eclass @@ -230,11 +230,11 @@ gcc-specs-directive() { d="$(gcc-specs-directive1 $1)" while [[ ${d} == *%\(*\)* ]]; do s=${d/*%\(} - s=${d/\)*} + s=${s/\)*} sd="$(gcc-specs-directive1 ${s})" - d=${d//\%(${s})/${sd}} + d="${d//\%(${s})/${sd}}" done - echo ${d} + echo "${d}" return 0 } -- cgit v1.2.3-65-gdbad