From 1ecd4fda1a2e3f3aea84453962cde098565535f6 Mon Sep 17 00:00:00 2001 From: Seppo Takalo Date: Thu, 5 Oct 2023 13:44:45 +0300 Subject: [PATCH] net: script: Fix the net-tools path Fix the correct path to net-tools directory. Also default to Bash instead of /bin/sh as we use Bash syntax. Signed-off-by: Seppo Takalo --- scripts/net/run-sample-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/net/run-sample-tests.sh b/scripts/net/run-sample-tests.sh index f99215685e0..11162b30b5e 100755 --- a/scripts/net/run-sample-tests.sh +++ b/scripts/net/run-sample-tests.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Copyright (c) 2019 Intel Corporation # SPDX-License-Identifier: Apache-2.0 @@ -36,7 +36,7 @@ check_dirs () do local l - l="$d/net-tools" + l="$d/tools/net-tools" if [ -d "$l" ]; then NET_TOOLS_BASE="$l" break