public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: yaowenbin <yaowenbin1@huawei.com>
To: <systemtap@sourceware.org>
Cc: "hewenliang (C)" <hewenliang4@huawei.com>, <linfeilong@huawei.com>
Subject: [PATCH] make 'local' only used in functions to avoid shellcheck error
Date: Thu, 28 Jul 2022 17:16:57 +0800	[thread overview]
Message-ID: <94044055-5711-c12e-402e-08003322fa06@huawei.com> (raw)

Signed-off-by: yaowenbin <yaowenbin1@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.23.0

             reply	other threads:[~2022-07-28  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-28  9:16 yaowenbin [this message]
2022-08-19 19:39 ` Frank Ch. Eigler
2023-04-26  7:50 langfei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94044055-5711-c12e-402e-08003322fa06@huawei.com \
    --to=yaowenbin1@huawei.com \
    --cc=hewenliang4@huawei.com \
    --cc=linfeilong@huawei.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).