[make-initrd] [PATCH v6 09/22] bootchain-core: use private variable name

Leonid Krivoshein klark.devel at gmail.com
Sun Oct 24 20:21:16 MSK 2021


Signed-off-by: Leonid Krivoshein <klark.devel at gmail.com>
---
 features/bootchain-core/data/bin/bootchain-sh-functions | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/features/bootchain-core/data/bin/bootchain-sh-functions b/features/bootchain-core/data/bin/bootchain-sh-functions
index f337767..e73fd35 100644
--- a/features/bootchain-core/data/bin/bootchain-sh-functions
+++ b/features/bootchain-core/data/bin/bootchain-sh-functions
@@ -12,10 +12,10 @@ handlerdir=/lib/bootchain
 
 check_parameter()
 {
-	local v
+	local _v
 
-	eval "v=\"\${$1-}\""
-	[ -n "$v" ] ||
+	eval "_v=\"\${$1-}\""
+	[ -n "${_v}" ] ||
 		fatal "Parameter '$1' required"
 }
 
-- 
2.24.1



More information about the Make-initrd mailing list