You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/27 21:45:52 UTC

[incubator-nuttx] 01/04: build/export: correct the export path

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

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

commit 98f0b0afb55359ed88bb92929fd13b68447fdb5d
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sat Jun 13 20:20:41 2020 +0800

    build/export: correct the export path
    
    Change-Id: Ia2e19f30d32154c3329f46c5d8362fafd6b7e274
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 tools/mkexport.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mkexport.sh b/tools/mkexport.sh
index 6b96e27..5f4721d 100755
--- a/tools/mkexport.sh
+++ b/tools/mkexport.sh
@@ -432,7 +432,7 @@ cd "${TOPDIR}" || \
   { echo "MK: 'cd ${TOPDIR}' failed"; exit 1; }
 
 if [ -e "${APPDIR}/Makefile" ]; then
-  "${MAKE}" -C "${TOPDIR}/${APPDIR}" EXPORTDIR="$(cd "${EXPORTSUBDIR}" ; pwd )" TOPDIR="${TOPDIR}" export || \
+  "${MAKE}" -C "${APPDIR}" EXPORTDIR="$(cd "${EXPORTSUBDIR}" ; pwd )" TOPDIR="${TOPDIR}" export || \
       { echo "MK: call make export for APPDIR not supported"; }
 fi