mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
scripts: Show sensible warning messages if expected binaries don't exist
[YOCTO #1438] (From OE-Core rev: 6b5706d1f9ce7a3fd4d8f819ff8f3fd789665647) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -62,6 +62,10 @@ if [ -z "$IFCONFIG" ]; then
|
||||
# Is it ever anywhere else?
|
||||
IFCONFIG=/sbin/ifconfig
|
||||
fi
|
||||
if [ ! -x "$IFCONFIG" ]; then
|
||||
echo "$IFCONFIG cannot be executed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure we start with a clean slate
|
||||
for tap in `$IFCONFIG | grep ^tap | awk '{ print \$1 }'`; do
|
||||
|
||||
Reference in New Issue
Block a user