mirror of
https://github.com/json-c/json-c.git
synced 2026-11-09 15:30:14 +08:00
Add a shellcheck test, fix or ignore all warnings reported by shellcheck.
This commit is contained in:
1 parent
5a79fb68c2
commit
8f191846d5
21 files changed
+163
-94
No files matched your search
@@ -8,7 +8,7 @@ TOP=${RUNDIR}/..
|
||||
|
||||
update_authors()
|
||||
{
|
||||
PREV=$(get_most_recent_reltag)
|
||||
NEW_AUTHORS=$( git log -r ${PREV}..HEAD | grep Author: | sed -e's/Author: //' ; cat "${TOP}/AUTHORS" )
|
||||
PREV=$(get_most_recent_reltag "")
|
||||
NEW_AUTHORS=$( git log -r "${PREV}..HEAD" | grep Author: | sed -e's/Author: //' ; cat "${TOP}/AUTHORS" )
|
||||
echo "${NEW_AUTHORS}" | sort -u > "${TOP}/AUTHORS"
|
||||
}
|
||||
Reference in new issue
Block a user