mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 06:18:40 +08:00
Fix error in handling CONFIG_APPS_DIR in configure.sh. From Krishna Kumar
This commit is contained in:
parent
7791b2a62e
commit
9c9fc419e8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue