Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2018 16:21:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227109] Mk/Scripts, cleanup using devel/hs-ShellCheck
Message-ID:  <bug-227109-7788-G1Q71jmuDR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227109-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227109-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227109

--- Comment #12 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227109-7788-G1Q71jmuDR>