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>btrfsvols
parent
4885c7962d
commit
a3bc7ccd71
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue