From 494c4d8dfebc023a083498e2639db191bb9c1e4f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 24 Jun 2023 22:32:53 +0100 Subject: [PATCH] build/cbutils: rename variable for clarity Signed-off-by: Leah Rowe --- resources/scripts/build/clean/cbutils | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/scripts/build/clean/cbutils b/resources/scripts/build/clean/cbutils index 0c0df0d3..b74ed9a8 100755 --- a/resources/scripts/build/clean/cbutils +++ b/resources/scripts/build/clean/cbutils @@ -30,18 +30,18 @@ printf "Cleaning the previous build of coreboot and its utilities\n" [ ! -d "coreboot/" ] && exit 0 -for board in coreboot/*; do - if [ "${board##*/}" = "coreboot" ]; then +for cbtree in coreboot/*; do + if [ "${cbtree##*/}" = "coreboot" ]; then continue fi # Clean coreboot, of course - make -C "${board}/" distclean + make -C "${cbtree}/" distclean # Clean its utilities as well for util in cbfstool ifdtool nvramtool cbmem; do - make -C "${board}/util/${util}/" clean + make -C "${cbtree}/util/${util}/" clean done - make -C "${board}/payloads/libpayload/" distclean + make -C "${cbtree}/payloads/libpayload/" distclean done printf "\n\n"