mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
give a prompt when apps dir cannot be found
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user