aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-12-29 16:41:26 +0100
committerMike Frysinger <vapier@gentoo.org>2012-12-29 16:09:05 -0500
commit205d3103e5cf075f908da72644cb4cbcfb49dbaf (patch)
tree48ea1bcbc27845b812513dac00e5d9a4e502ef11
parentgcc-config: handle multilib libgcj pc files (diff)
downloadgcc-config-205d3103e5cf075f908da72644cb4cbcfb49dbaf.tar.gz
gcc-config-205d3103e5cf075f908da72644cb4cbcfb49dbaf.tar.bz2
gcc-config-205d3103e5cf075f908da72644cb4cbcfb49dbaf.zip
try_real_hard_to_find_CHOST: use probed GNU sed
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xgcc-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index 18d0b48..61e3d1c 100755
--- a/gcc-config
+++ b/gcc-config
@@ -93,7 +93,7 @@ try_real_hard_to_find_CHOST() {
# newer portage supports spaces between the var and =
# CHOST = "this-is-retarded"
ret=$(eval $(
- sed -n \
+ ${SED} -n \
-e 's:[[:space:]]::g' \
-e "/^${varname}=/p" \
"${conf}"