From eeed03b174ef49b436b1f628473675ba6625910e Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Sun, 30 Jan 2022 20:39:48 +0900 Subject: [PATCH] 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 --- tools/mkimport.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimport.sh b/tools/mkimport.sh index 46c52dff6..2173f9be9 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