From ece5463109721347c2008b7791907ac4d6825588 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 23 Jan 2024 20:25:08 +0000 Subject: [PATCH] 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 --- script/vendor/inject | 1 - 1 file changed, 1 deletion(-) 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}" }