From 5af17cb319ad9724838ab1ee2d5341f89633e8d9 Mon Sep 17 00:00:00 2001 From: Kyle Evans <kevans@FreeBSD.org> Date: Thu, 22 Feb 2018 15:29:57 +0000 Subject: [PATCH] lua-lint: Add note about luacheck in ports, silence warning luacheck was added in ports r462609. Silence warning about cli_execute -- it's non-standard, but for our setup it will be a standard global. --- tools/boot/lua-lint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/boot/lua-lint.sh b/tools/boot/lua-lint.sh index 3fde62c3a04d..10cde8c71c21 100755 --- a/tools/boot/lua-lint.sh +++ b/tools/boot/lua-lint.sh @@ -1,8 +1,8 @@ #!/bin/sh # $FreeBSD$ -# Run linter on the lua scripts in stand/lua. luacheck, not currently available -# in ports, must be installed as a dependency. +# Run linter on the lua scripts in stand/lua. luacheck, available in ports as +# devel/lua-luacheck, must be installed as a dependency of this script. die() { echo $* @@ -16,4 +16,4 @@ LUACHECK=$(which luacheck) cd $(make -V SRCTOP)/stand ${LUACHECK} . --globals loader --globals lfs --globals io.getchar \ - --globals io.ischar --std lua53 + --globals io.ischar --globals cli_execute --std lua53