From b53af5602dda9c9c7d2a3cd4b739eca3146cdab2 Mon Sep 17 00:00:00 2001 From: xuxin19 Date: Fri, 22 Sep 2023 16:37:11 +0800 Subject: [PATCH] give a prompt when apps dir cannot be found Signed-off-by: xuxin19 --- tools/configure.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/configure.sh b/tools/configure.sh index caf960474d9..7804c67a9a9 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -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