File tree Expand file tree Collapse file tree
docs/sphinx/about_project Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,3 +35,6 @@ Contributors
3535* Rohan Kumar <rohank.ce@gmail.com>
3636* Jonathan Sieber <mail@strfry.org>
3737* Gareth Marlow <gareth@eqsystems.io>
38+ * Ivan <miklecivan3@gmail.com>
39+ * Suiyi Fu <fusuiyi123@gmail.com>
40+ * Vladimir Panov <quest201114@yandex.ru>
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ function add_if_new() {
4343}
4444
4545function add_contributors() {
46- repo_dir=" ../$1 "
46+ out_file=" $1 "
47+ repo_dir=" ../$2 "
4748
4849 if [ ! -d " ${repo_dir} " ]
4950 then
@@ -55,7 +56,7 @@ function add_contributors() {
5556 | cut -d' ' -f2- \
5657 | while read line
5758 do
58- add_if_new " ${line} " " ${file } "
59+ add_if_new " ${line} " " ${out_file} " >> " ${out_file }"
5960 done
6061}
6162
@@ -66,13 +67,13 @@ temp="$(mktemp)"
6667
6768cat " $file " > " $temp "
6869
69- add_contributors " roc " " $file " >> " $temp "
70- add_contributors " roc-tests " " $file " >> " $temp "
71- add_contributors " roc-go " " $file " >> " $temp "
72- add_contributors " roc-java " " $file " >> " $temp "
73- add_contributors " roc/vendor " " $file " >> " $temp "
74- add_contributors " openfec " " $file " >> " $temp "
75- add_contributors " dockerfiles " " $file " >> " $temp "
70+ add_contributors " ${temp} " " roc "
71+ add_contributors " ${temp} " " roc-tests "
72+ add_contributors " ${temp} " " roc-go "
73+ add_contributors " ${temp} " " roc-java "
74+ add_contributors " ${temp} " " roc/vendor "
75+ add_contributors " ${temp} " " openfec "
76+ add_contributors " ${temp} " " dockerfiles "
7677
7778cat " $temp " > " $file "
7879rm " $temp "
You can’t perform that action at this time.
0 commit comments