summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-10-07 13:54:10 -0400
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-10-10 21:43:47 +0000
commit743c1c089415ce2465e31f1a9e4067c653336e9c (patch)
treebe87161f553ed2407131e059c56f481ccc1a61be /util
parentc4686419176ccfb1bf4bcb94fb25c040e05714fd (diff)
downloadcoreboot-743c1c089415ce2465e31f1a9e4067c653336e9c.tar.gz
coreboot-743c1c089415ce2465e31f1a9e4067c653336e9c.tar.bz2
coreboot-743c1c089415ce2465e31f1a9e4067c653336e9c.zip
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 <reitbergerfred@gmail.com> Change-Id: I68f2e65fa1c9297ad6b58b77576deaeef8bd76e3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68225 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'util')
-rwxr-xr-xutil/lint/lint-stable-003-whitespace2
1 files changed, 1 insertions, 1 deletions
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
)"