summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-30 20:20:36 -0500
committerMike Frysinger <vapier@gentoo.org>2012-12-30 20:24:07 -0500
commit52b07404535c1f49942442c891f98fd3f3810daa (patch)
tree244f26da9904cdf3a3af16fae4743c43fd561bc7 /gcc-config
parenttests: check for trailing whitespace (diff)
downloadgcc-config-52b07404535c1f49942442c891f98fd3f3810daa.tar.gz
gcc-config-52b07404535c1f49942442c891f98fd3f3810daa.tar.bz2
gcc-config-52b07404535c1f49942442c891f98fd3f3810daa.zip
gcc-config: use ${SED} everywhere
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'gcc-config')
-rwxr-xr-xgcc-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-config b/gcc-config
index 61e3d1c..a9128d5 100755
--- a/gcc-config
+++ b/gcc-config
@@ -460,7 +460,7 @@ switch_profile() {
echo ""
if [[ ! -d /etc/ld.so.conf.d ]] ; then
show_var LDPATH "${ROOT}"/etc/env.d/05gcc-${CTARGET} \
- | sed -e 's|:|\n|g' >> /etc/ld.so.conf
+ | ${SED} -e 's|:|\n|g' >> /etc/ld.so.conf
fi
ldconfig
fi