[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit eab81b12e92ea3ae53d14337a6fafc9d6c32b39a
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits