public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: langfei <langfei@huawei.com>
To: <systemtap@sourceware.org>
Cc: <linfeilong@huawei.com>, <hewenliang4@huawei.com>, <langfei@huawei.com>
Subject: [PATCH] make 'local' only used in functions to avoid shellcheck error
Date: Wed, 26 Apr 2023 15:50:48 +0800	[thread overview]
Message-ID: <20230426075048.111177-1-langfei@huawei.com> (raw)

---
 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 330409e65..97254fe20 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


             reply	other threads:[~2023-04-26  7:51 UTC|newest]

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

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=20230426075048.111177-1-langfei@huawei.com \
    --to=langfei@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).