You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/02/14 13:28:16 UTC

[incubator-nuttx] branch master updated: Fix configure.sh for custom apps dir.

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f6be5e  Fix configure.sh for custom apps dir.
8f6be5e is described below

commit 8f6be5e4ce2cd91812cd9ed00186a49638986e31
Author: Anton Potapov <a....@geoscan.aero>
AuthorDate: Mon Feb 14 14:33:40 2022 +0300

    Fix configure.sh for custom apps dir.
---
 tools/configure.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/configure.sh b/tools/configure.sh
index e32ecf2..793c0c9 100755
--- a/tools/configure.sh
+++ b/tools/configure.sh
@@ -220,7 +220,7 @@ fi
 # not be in a usable form.
 
 defappdir=y
-if [ -z "${appdir}" -a "X$oldnative" = "$winnative" ]; then
+if [ -z "${appdir}" -a "X$oldnative" = "X$winnative" ]; then
   quoted=`grep "^CONFIG_APPS_DIR=" ${src_config} | cut -d'=' -f2`
   if [ ! -z "${quoted}" ]; then
     appdir=`echo ${quoted} | sed -e "s/\"//g"`