Skip to content
Snippets Groups Projects
Closed (moved) shellcheck: cov-diff issues
  • View options
  • shellcheck: cov-diff issues

  • View options
  • Closed (moved) Issue created by rl1987

    Shellcheck (​​​https://github.com/koalaman/shellcheck) finds the following issues:

    
    In cov-diff line 10:
    for B in $DIRB/*; do
             ^-- SC2231: Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .
    
    
    In cov-diff line 11:
      A=$DIRA/`basename $B`
              ^-- SC2006: Use $(..) instead of legacy `..`.
                        ^-- SC2086: Double quote to prevent globbing and word splitting.
    
    
    In cov-diff line 12:
      if [ -f $A ]; then
              ^-- SC2086: Double quote to prevent globbing and word splitting.
    

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first