From 288ac9d627df92cfcffdc28180f0f19ef18a4cf8 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 5 Dec 2012 20:31:43 +0100 Subject: scripts/xldd: use user's sed and grep xldd uses sed and grep as detected by ./configure. This works well if is used on the machine that build the toolchain. But if the user moves the toolchain to another machine where sed and grep are not in the same directory (eg. /bin/sed vs. /usr/bin/sed), then xldd will stop functionning. Fix that by using ${SED} and ${GREP} if they are set in the environment. Reported-by: Samuel Martin Signed-off-by: "Yann E. MORIN" diff --git a/scripts/xldd.in b/scripts/xldd.in index 273a60d..c906240 100755 --- a/scripts/xldd.in +++ b/scripts/xldd.in @@ -4,8 +4,8 @@ export LC_ALL=C version="@@CT_VERSION@@" bits="@@CT_BITS@@" -sed="@@CT_sed@@" -grep="@@CT_grep@@" +sed="${SED:-@@CT_sed@@}" +grep="${GREP:-@@CT_grep@@}" my_name="$( basename "${0}" )" prefix="${0%-ldd}" -- cgit v0.10.2-6-g49f6