summaryrefslogtreecommitdiff
path: root/scripts/xldd.in
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-17 10:48:09 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-17 10:48:09 (GMT)
commit6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e (patch)
tree9eb19260dd694fa6b4852c46e3f0a93939db9a24 /scripts/xldd.in
parent6ac8e31a519f41af7838bb5261e0fe989fb428bd (diff)
consistency: Use exported variables of required tools
We check for apps: * make * sed * grep * awk * libtool/libtoolize * install * patch * and more ...during configure. Our scripts should be consistent about using the variables that define where the found tool was found. Of course, we do hard-link these tools in buildtools, but that should be a backup for the components we are building. Our scripts should always use the tools we find. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/xldd.in')
-rw-r--r--scripts/xldd.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xldd.in b/scripts/xldd.in
index c906240..0e8c0d0 100644
--- a/scripts/xldd.in
+++ b/scripts/xldd.in
@@ -158,8 +158,8 @@ fi
sysroot="$( "${gcc}" -print-sysroot 2>/dev/null )"
if [ -z "${sysroot}" ]; then
- sysroot="$( "${gcc}" -print-file-name=libc.so 2>/dev/null \
- |sed -r -e 's:/usr/lib/libc.so$::;' \
+ sysroot="$( "${gcc}" -print-file-name=libc.so 2>/dev/null \
+ |${sed} -r -e 's:/usr/lib/libc.so$::;' \
)"
fi
if [ -z "${sysroot}" ]; then