mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'tor-github/pr/519'
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
o Code simplification and refactoring:
|
||||
- Fix shellcheck warnings in cov-diff script. Resolves issue
|
||||
28009.
|
||||
@@ -7,9 +7,9 @@
|
||||
DIRA="$1"
|
||||
DIRB="$2"
|
||||
|
||||
for B in $DIRB/*; do
|
||||
A=$DIRA/`basename $B`
|
||||
if [ -f $A ]; then
|
||||
for B in "$DIRB"/*; do
|
||||
A=$DIRA/$(basename "$B")
|
||||
if [ -f "$A" ]; then
|
||||
perl -pe 's/^\s*\!*\d+(\*?):/ 1$1:/; s/^([^:]+:)[\d\s]+:/$1/; s/^ *-:(Runs|Programs):.*//;' "$A" > "$A.tmp"
|
||||
else
|
||||
cat /dev/null > "$A.tmp"
|
||||
|
||||
Reference in New Issue
Block a user