From d0c838e0abd0b39df54547623b2fa87fcc8aa807 Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 24 Nov 2016 16:58:34 +0200 Subject: self code review Signed-off-by: imarom --- scripts/t-rex-64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/t-rex-64') diff --git a/scripts/t-rex-64 b/scripts/t-rex-64 index 5515ba03..fc8318a5 100755 --- a/scripts/t-rex-64 +++ b/scripts/t-rex-64 @@ -26,7 +26,7 @@ cd $(dirname $0) export LD_LIBRARY_PATH=$PWD #Add dummy lib in case we don't find it, e.g. there is no OFED installed -if ldd _t-rex-64 | grep "libibverbs.so" | grep -q "not found"; then +if ldd _$(basename $0) | grep "libibverbs.so" | grep -q "not found"; then export LD_LIBRARY_PATH=$PWD:$PWD/dumy_libs fi -- cgit 1.2.3-korg