File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ this_script=$(perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' "$0" "${ro
3939
4040# Lists contributors.
4141list_contributors () {
42- local contributors=" $( git shortlog -sne | cut -f 2 | sort) "
42+ local contributors
43+ contributors=" $( git shortlog -sne | cut -f 2 | sort) "
4344 echo " ${contributors} "
4445}
4546
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ main() {
4848 path=" ${testdir# ${base} / } "
4949
5050 # Slugify the path (basic algorithm):
51- slug=" $( echo ${path} | sed -e ' s/[^[:alnum:]]/_/g' | tr -s ' -' | tr A-Z a-z ) "
51+ slug=$( echo " ${path} " | sed -e ' s/[^[:alnum:]]/_/g' | tr -s ' -' | tr ' [:upper:] ' ' [:lower:] ' )
5252
5353 # Generate a filename:
5454 echo " ${output} /coverage${slug} .json"
You can’t perform that action at this time.
0 commit comments