[make-initrd] [PATCH v1 28/41] fork pipeline: bootchain-sh-functions: check_parameter modified

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:58:20 MSK 2021


---
  .../features/bootchain-core/data/bin/bootchain-sh-functions | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions 
b/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
index 5c5a9fb..6a20c4c 100644
--- a/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
+++ b/make-initrd/features/bootchain-core/data/bin/bootchain-sh-functions
@@ -10,9 +10,9 @@ handlerdir=/lib/bootchain
   check_parameter()
  {
-	local v
-	eval "v=\"\${$1-}\""
-	[ -n "$v" ] ||
+	local _v
+	eval "_v=\"\${$1-}\""
+	[ -n "${_v}" ] ||
  		fatal "Parameter '$1' required"
  }
  -- 2.21.0




More information about the Make-initrd mailing list