summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-01-23 20:25:08 +0000
committerLeah Rowe <leah@libreboot.org>2024-01-23 20:26:14 +0000
commitece5463109721347c2008b7791907ac4d6825588 (patch)
tree0376126aeaf2a1a6b74f785f3668fe8ac54a6376 /script
parent8b4a4f79f61c8cb7d176ba13eb69bd6eb526aec7 (diff)
script/vendor/inject: remove erroneous check
the boarddir variable is only set *after* detect_board is run, and is in fact checked after that. this check, removed by this patch, is too early and causes lbmk to exit with error states. this patch fixes the error. the error was that lbmk was then searching for a file that is at an empty path. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/vendor/inject1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/vendor/inject b/script/vendor/inject
index 2f55e166..4ac2753f 100755
--- a/script/vendor/inject
+++ b/script/vendor/inject
@@ -82,7 +82,6 @@ detect_board()
*)
err "detect_board $filename: could not detect board type"
esac
- [ -d "$boarddir" ] || err "detect_board: dir \"$boarddir\" missing"
printf "%s\n" "${board}"
}