You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/01/30 16:20:16 UTC

[incubator-nuttx-apps] branch master updated: tools: mkimport.sh: Add support relative file path

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

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


The following commit(s) were added to refs/heads/master by this push:
     new eeed03b  tools: mkimport.sh: Add support relative file path
eeed03b is described below

commit eeed03b174ef49b436b1f628473675ba6625910e
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Sun Jan 30 20:39:48 2022 +0900

    tools: mkimport.sh: Add support relative file path
    
    Summary:
    - mkimport.sh only accepted absolute file path
    - This commit adds support relative file path
    
    Impact:
    - None
    
    Testing:
    - Build (mkimport, make import) with sama5d4-ek:knsh
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 tools/mkimport.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mkimport.sh b/tools/mkimport.sh
index 46c52df..2173f9b 100755
--- a/tools/mkimport.sh
+++ b/tools/mkimport.sh
@@ -35,7 +35,7 @@ while [ ! -z "$1" ]; do
 			;;
 		-x )
 			shift
-			EXPORT=$1
+			EXPORT=$(realpath $1)
 			;;
 		-z )
 			TGZ=y