From 743c1c089415ce2465e31f1a9e4067c653336e9c Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Fri, 7 Oct 2022 13:54:10 -0400 Subject: util/lint/lint-stable-003-whitespace: Fix shell variable name Fix shell variable "LINTDIR" so that helper_functions.sh can be found. TEST=`./util/lint/lint lint-stable --junit` no longer prints "cannot open /helper_functions.sh: No such file" Signed-off-by: Fred Reitberger Change-Id: I68f2e65fa1c9297ad6b58b77576deaeef8bd76e3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68225 Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- util/lint/lint-stable-003-whitespace | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index e46d93e2a4bc..0611f253966b 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -4,7 +4,7 @@ # DESCR: Check for superfluous whitespace in the tree -INTDIR="$( +LINTDIR="$( cd -- "$(dirname "$0")" > /dev/null 2>&1 || return pwd -P )" -- cgit v1.2.3