[tor-commits] [tor/master] Fix one last SC2086

nickm at torproject.org nickm at torproject.org
Mon Nov 19 13:45:48 UTC 2018


commit 4fc584f20e5aae8f7b89f169690c17d5bce84d41
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Sun Nov 11 18:04:07 2018 +0200

    Fix one last SC2086
---
 scripts/test/coverage | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/test/coverage b/scripts/test/coverage
index 180a2d6dc..7a417cdc8 100755
--- a/scripts/test/coverage
+++ b/scripts/test/coverage
@@ -13,7 +13,7 @@ for fn in src/core/*/*.c src/feature/*/*.c src/app/*/*.c src/lib/*/*.c; do
     F=$(echo "$BN" | sed -e 's/\.c$//;')
     GC="${BN}.gcov"
     # Figure out the object file names
-    ONS=$(echo ${DN}/src_*-${F}.o)
+    ONS=$(echo "${DN}"/src_*-"${F}".o)
     ONS_WILDCARD_LITERAL="${DN}/src_*-${F}.o"
     # If the wildcard didn't expand, no files
     if [ "$ONS" != "${ONS_WILDCARD_LITERAL}" ]





More information about the tor-commits mailing list