[Intel-gfx] [PATCH 0/8] dim: shellcheck v0.4.4 fixes

Jani Nikula jani.nikula at intel.com
Tue Mar 21 10:14:26 UTC 2017


Shellcheck version 0.4.4 complains more than the earlier version I was
using previously. Shut it up harder.

BR,
Jani.

Jani Nikula (8):
  dim: declare and assign separately
  dim: use [ p ] || [ q ] instead of test -a/-o
  dim: use read -r option
  dim: silence shellcheck warning about sourced files
  dim: avoid errors with rm $foo/ expanding to /
  dim: pipe dim_cite output directly instead of using echo
  dim: use grep -c instead of grep|wc
  dim: abstract -i interactive pause to a function

 Makefile |  4 ----
 dim      | 46 +++++++++++++++++++++++++++++++---------------
 2 files changed, 31 insertions(+), 19 deletions(-)

-- 
2.1.4



More information about the Intel-gfx mailing list