From 6f8e89cb5ca061e899bf3feaaf3fecf30d366c3e Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Tue, 17 Nov 2015 02:48:09 -0800 Subject: 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 --- scripts/xldd.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/xldd.in') diff --git a/scripts/xldd.in b/scripts/xldd.in index c906240e..0e8c0d07 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 -- cgit v1.2.3