mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
Fix error in handling CONFIG_APPS_DIR in configure.sh. From Krishna Kumar
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user