summaryrefslogtreecommitdiffstats
path: root/scripts/t-rex-64
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-11-24 16:58:34 +0200
committerimarom <imarom@cisco.com>2016-11-24 16:58:34 +0200
commitd0c838e0abd0b39df54547623b2fa87fcc8aa807 (patch)
treef6e49bc3289065006ba0972b23f7b69a4796edd6 /scripts/t-rex-64
parentd6423d0e2aa13f03bfee59c6101e539c8989df73 (diff)
self code review
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/t-rex-64')
-rwxr-xr-xscripts/t-rex-642
1 files changed, 1 insertions, 1 deletions
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