From 277e1df0afed91ed3575c567d980f625789488f7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 May 2023 18:01:02 +0100 Subject: build/cbutils: remove unnecessary directory check it will already fail if the coreboot download did. if the coreboot download succeeds, the directory exists. Signed-off-by: Leah Rowe --- resources/scripts/build/module/cbutils | 5 ----- 1 file changed, 5 deletions(-) (limited to 'resources') diff --git a/resources/scripts/build/module/cbutils b/resources/scripts/build/module/cbutils index 1cd5c930..b362ee7a 100755 --- a/resources/scripts/build/module/cbutils +++ b/resources/scripts/build/module/cbutils @@ -58,11 +58,6 @@ buildutils() { if [ ! -d "coreboot/${cbtree}/" ]; then ./download coreboot $cbtree || return 1 fi - if [ ! -d "coreboot/${cbtree}/" ]; then - printf "build/cbutils: coreboot/%s not found. Exiting\n" \ - "${cbtree}" - return 1 - fi for util in cbfstool ifdtool; do make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \ || return 1 -- cgit v1.2.1