diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-19 08:47:03 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-19 08:47:03 -0500 |
commit | a8df39e9552bd679b35513fa4a1c98507e870082 (patch) | |
tree | da0a835b9d2156fe1c4c96ad9555613c1ea0dcd0 /scripts | |
parent | 26539ec3ae01a33f0ab4ce59fa83355ebdf32470 (diff) | |
parent | d9f7cb3f6202291d38d611165f70e0c1c33b3e92 (diff) | |
download | tor-a8df39e9552bd679b35513fa4a1c98507e870082.tar.gz tor-a8df39e9552bd679b35513fa4a1c98507e870082.zip |
Merge remote-tracking branch 'tor-github/pr/519'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test/cov-diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test/cov-diff b/scripts/test/cov-diff index 6179dff63e..f3ca856888 100755 --- a/scripts/test/cov-diff +++ b/scripts/test/cov-diff @@ -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" |