Skip to content

Commit

Permalink
.github/scripts/capsule-lint.sh: fix location check
Browse files Browse the repository at this point in the history
Change-Id: I02687d504f50007463c3813c8a5c9d5604f4ba2b
Signed-off-by: Sergii Dmytruk <[email protected]>
  • Loading branch information
SergiiDmytruk committed Oct 8, 2024
1 parent e3152b0 commit b18c294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/capsule-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ function hex_to_ver_str() {
echo "$ver"
}

if [ -d .configs ]; then
echo "error: $0 should be run from the root of coreboot's tree"
if [ ! -d configs ]; then
echo "error: $(basename "$0") should be run from the root of coreboot's tree"
exit 1
fi

Expand Down

0 comments on commit b18c294

Please sign in to comment.