From a3bc7ccd710423f9be06c2fdf3d24ac5c10dda7f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 2 Sep 2023 10:43:35 +0100 Subject: handle/make/file: fix uefitool builds the current check only worked if it had already been built, when checking for the Makefile however, running this during build/release/src caused problems, hence the current check so: perform the same check, but as a fallback for cmake failing (and if that check fails, only then will err be called) Signed-off-by: Leah Rowe --- script/handle/make/file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/handle') diff --git a/script/handle/make/file b/script/handle/make/file index 0cf6e34c..4208285b 100755 --- a/script/handle/make/file +++ b/script/handle/make/file @@ -60,7 +60,7 @@ handle_dependencies() if [ "${project}" = "uefitool" ]; then ( cd uefitool || err "handle_dependencies: !cd uefitool" - [ ! -f UEFIExtract/Makefile ] || cmake UEFIExtract/ || \ + cmake UEFIExtract/ || [ -f Makefile ] || \ err "handle_dependencies: !cmake UEFIExtract/" ) fi -- cgit v1.2.1