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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 1 16:22:00 UTC 2018


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

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

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

Log:
  SC2163: Exporting an expansion rather than a variable.

  export takes a variable name, but shellcheck has noticed that you give
  it an expanded variable instead. The problematic code does not export
  MYVAR but a variable called foo if any.

  Add exception when using indirections where the variable to extract is
  actually the value of the variable.

  PR:           227109
  Submitted by: mat
  Sponsored by: Absolight

Changes:
  head/Mk/Scripts/functions.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