mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
give a prompt when apps dir cannot be found
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
parent
0a78095bb7
commit
b53af5602d
1 changed files with 3 additions and 0 deletions
|
|
@ -270,6 +270,9 @@ if [ -z "${appdir}" ]; then
|
|||
|
||||
if [ -d "${TOPDIR}/../apps-${CONFIG_VERSION_STRING}" ]; then
|
||||
appdir="../apps-${CONFIG_VERSION_STRING}"
|
||||
else
|
||||
echo "ERROR: Could not find the path to the appdir"
|
||||
exit 7
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue