summaryrefslogtreecommitdiff
path: root/script/handle
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-02 10:43:35 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-02 10:43:35 +0100
commita3bc7ccd710423f9be06c2fdf3d24ac5c10dda7f (patch)
treeb495dfd5d46225bc08045f904dfdcdee6bd3b186 /script/handle
parent4885c7962d493087ab916e59040b134b8d2fabf7 (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'script/handle')
-rwxr-xr-xscript/handle/make/file2
1 files changed, 1 insertions, 1 deletions
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