From 9c9fc419e805594d6080b0013ccfbe75ae6c150a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 11 Aug 2015 08:33:14 -0600 Subject: [PATCH] Fix error in handling CONFIG_APPS_DIR in configure.sh. From Krishna Kumar --- tools/configure.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/configure.sh b/tools/configure.sh index 2de790506e3..3ee734d6e9f 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -144,7 +144,7 @@ winnative=`grep CONFIG_WINDOWS_NATIVE= "${src_config}" | cut -d'=' -f2` defappdir=y if [ -z "${appdir}" ]; then quoted=`grep "^CONFIG_APPS_DIR=" "${src_config}" | cut -d'=' -f2` - if [ ! -z "${appdir}" ]; then + if [ ! -z "${quoted}" ]; then appdir=`echo ${quoted} | sed -e "s/\"//g"` defappdir=n fi @@ -165,7 +165,6 @@ if [ -z "${appdir}" ]; then if [ -d "${TOPDIR}/../apps" ]; then appdir="../apps" - else # Check for a versioned apps/ directory