From cea3c6a744e5f0d2017e5cc11033b8d226b482f9 Mon Sep 17 00:00:00 2001
From: langfei <langfei@huawei.com>
Date: Wed, 5 Jul 2023 10:45:23 +0800
Subject: [PATCH] local is only valid in functions for shellcheck sc2168

Signed-off-by: langfei <langfei@huawei.com>
---
 doc/Tapset_Reference_Guide/publicanize.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/Tapset_Reference_Guide/publicanize.sh b/doc/Tapset_Reference_Guide/publicanize.sh
index 330409e..97254fe 100755
--- a/doc/Tapset_Reference_Guide/publicanize.sh
+++ b/doc/Tapset_Reference_Guide/publicanize.sh
@@ -22,7 +22,7 @@ do
 	val=`printf %s $1 | awk -F= '{print $2}'`
 	shift
 	if test -z "$val"; then
-		local possibleval=$1
+		possibleval=$1
 		printf %s $1 "$possibleval" | grep ^- >/dev/null 2>&1
 		if test "$?" != "0"; then
 			val=$possibleval
-- 
2.33.0

