diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-02 10:43:35 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-02 10:43:35 +0100 |
commit | a3bc7ccd710423f9be06c2fdf3d24ac5c10dda7f (patch) | |
tree | b495dfd5d46225bc08045f904dfdcdee6bd3b186 /script/handle/make | |
parent | 4885c7962d493087ab916e59040b134b8d2fabf7 (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/make')
-rwxr-xr-x | script/handle/make/file | 2 |
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 |