Skip to content
Commit 4695eb4e authored by Ruslan Mstoi's avatar Ruslan Mstoi Committed by Carles Cufí
Browse files

scripts: net: Fix incorrect error messages



If environment variables ZEPHYR_BASE or NET_TOOLS_BASE are unset, an
incorrect message is printed saying that "it is set, but it is not a
directory":

$ZEPHYR_BASE is unset
$ZEPHYR_BASE is set, but it is not a directory
$NET_TOOLS_BASE is unset, no net-tools found
$NET_TOOLS_BASE set, but it is not a directory

This patch fixes that issue.

Signed-off-by: default avatarRuslan Mstoi <ruslan.mstoi@intel.com>
parent aa051857
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment