projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb132b
)
gdb/gdb_mbuild.sh: use return instead of continue to avoid shellcheck error
author
yaowenbin
<yaowenbin1@huawei.com>
Thu, 28 Jul 2022 09:22:47 +0000
(17:22 +0800)
committer
Simon Marchi
<simon.marchi@efficios.com>
Thu, 28 Jul 2022 14:31:10 +0000
(10:31 -0400)
Fix:
In gdb_mbuild.sh line 174:
continue
^------^ SC2104 (error): In functions, use return instead of continue.
Change-Id: I5ce95b01359c5cfbb1612f2f48b80bfeea66c96c
gdb/gdb_mbuild.sh
patch
|
blob
|
history
diff --git
a/gdb/gdb_mbuild.sh
b/gdb/gdb_mbuild.sh
index 0d4c28e87b17269c4b7f36eb89fae077d4a1162a..6a50236907028c80a9a22dd0065ac71ca11772e3 100755
(executable)
--- a/
gdb/gdb_mbuild.sh
+++ b/
gdb/gdb_mbuild.sh
@@
-171,7
+171,7
@@
fail ()
if test "${keepgoing}" != ""
then
#exit 1
- continue
+ return 1
else
kill $$
exit 1