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
@ -270,6 +270,9 @@ if [ -z "${appdir}" ]; then
|
|||||||
|
|
||||||
if [ -d "${TOPDIR}/../apps-${CONFIG_VERSION_STRING}" ]; then
|
if [ -d "${TOPDIR}/../apps-${CONFIG_VERSION_STRING}" ]; then
|
||||||
appdir="../apps-${CONFIG_VERSION_STRING}"
|
appdir="../apps-${CONFIG_VERSION_STRING}"
|
||||||
|
else
|
||||||
|
echo "ERROR: Could not find the path to the appdir"
|
||||||
|
exit 7
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user