diff options
author | Fred Reitberger <reitbergerfred@gmail.com> | 2022-10-07 13:54:10 -0400 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-10 21:43:47 +0000 |
commit | 743c1c089415ce2465e31f1a9e4067c653336e9c (patch) | |
tree | be87161f553ed2407131e059c56f481ccc1a61be | |
parent | c4686419176ccfb1bf4bcb94fb25c040e05714fd (diff) |
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>
-rwxr-xr-x | util/lint/lint-stable-003-whitespace | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index e46d93e2a4..0611f25396 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 )" |