[Bug 227109] Mk/Scripts, cleanup using devel/hs-ShellCheck

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 1 16:20:51 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227109

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: mat
Date: Fri Jun  1 16:20:23 UTC 2018
New revision: 471264
URL: https://svnweb.freebsd.org/changeset/ports/471264

Log:
  SC2145: Argument mixes string and array. Use * or separate argument.

  The behavior when concatenating a string and array is rarely intended.
  The preceeding string is prefixed to the first array element, while the
  succeeding string is appended to the last one. The middle array elements
  are unaffected.

  For example, with the parameters foo,bar,baz, "--flag=$@" is equivalent
  to the three arguments "--flag=foo" "bar" "baz".

  PR:           227109
  Submitted by: mat
  Sponsored by: Absolight

Changes:
  head/Mk/Scripts/functions.sh
  head/Mk/Scripts/generate-symbols.sh
  head/Mk/Scripts/qa.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list