Skip to content

Commit 1ecd4fd

Browse files
SeppoTakalojhedberg
authored andcommitted
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 <[email protected]>
1 parent 5dcaf26 commit 1ecd4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/net/run-sample-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
# Copyright (c) 2019 Intel Corporation
33
# SPDX-License-Identifier: Apache-2.0
44

@@ -36,7 +36,7 @@ check_dirs ()
3636
do
3737
local l
3838

39-
l="$d/net-tools"
39+
l="$d/tools/net-tools"
4040
if [ -d "$l" ]; then
4141
NET_TOOLS_BASE="$l"
4242
break

0 commit comments

Comments
 (0)