[tor-commits] [tor/master] Fix shellcheck warning SC2086 in run_calltool.sh

nickm at torproject.org nickm at torproject.org
Fri Nov 2 17:11:32 UTC 2018


commit eab81b12e92ea3ae53d14337a6fafc9d6c32b39a
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Mon Oct 29 11:31:03 2018 +0200

    Fix shellcheck warning SC2086 in run_calltool.sh
---
 scripts/maint/run_calltool.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/maint/run_calltool.sh b/scripts/maint/run_calltool.sh
index efb8706fe..f36810f5b 100755
--- a/scripts/maint/run_calltool.sh
+++ b/scripts/maint/run_calltool.sh
@@ -15,7 +15,7 @@ SUBITEMS="fn_graph fn_invgraph fn_scc fn_scc_weaklinks module_graph module_invgr
 
 for calculation in $SUBITEMS; do
   echo "======== $calculation"
-  python -m calltool $calculation > callgraph/$calculation
+  python -m calltool "$calculation" > callgraph/"$calculation"
 done
 
 echo <<EOF > callgraph/README





More information about the tor-commits mailing list