소스 검색

Merge remote-tracking branch 'tor-github/pr/449'

Nick Mathewson 5 년 전
부모
커밋
f27279f857
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      changes/ticket28011
  2. 2 2
      scripts/maint/run_calltool.sh

+ 3 - 0
changes/ticket28011

@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+    - Fix shellcheck warnings in run_calltool.sh. Resolves
+      ticket 28011.

+ 2 - 2
scripts/maint/run_calltool.sh

@@ -15,10 +15,10 @@ 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
+cat <<EOF > callgraph/README
 This directory holds output from calltool, as run on Tor.  For more
 information about each of these files, see the NOTES and README files in
 the calltool distribution.