summaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:36 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-06-01 16:20:36 +0000
commitc9551e33bb1d80eaa0848aebbab8f8ada279ab89 (patch)
tree444aa757e437817503769235316c3e410623aa1f /Mk/Scripts
parentSC2198: Arrays don't work as operands in [ ]. Use a loop (or concatenate with... (diff)
SC2034: <some var> appears unused. Verify it or export it.
Variables not used for anything are often associated with bugs, so ShellCheck warns about them. PR: 227109 Submitted by: mat Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=471268
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/functions.sh b/Mk/Scripts/functions.sh
index d62d5436e284..528c24a916ae 100644
--- a/Mk/Scripts/functions.sh
+++ b/Mk/Scripts/functions.sh
@@ -160,7 +160,7 @@ validate_env() {
}
export_ports_env() {
- local export_vars make_cmd make_env var results value uses
+ local export_vars make_cmd make_env var value uses
if [ -n "${HAVE_PORTS_ENV:-}" ]; then
return 0