Commit 90dde8c0 authored by Franco Fichtner's avatar Franco Fichtner

make: propagate error from missing dep

(cherry picked from commit f6d0d580)
parent 7a7b480d
...@@ -147,8 +147,11 @@ manifest: force ...@@ -147,8 +147,11 @@ manifest: force
@echo "prefix: /usr/local" @echo "prefix: /usr/local"
@echo "deps: {" @echo "deps: {"
@for CORE_DEPEND in ${CORE_DEPENDS}; do \ @for CORE_DEPEND in ${CORE_DEPENDS}; do \
${PKG} query ' %n: { version: "%v", origin: "%o" }' \ if ! ${PKG} query ' %n: { version: "%v", origin: "%o" }' \
$${CORE_DEPEND}; \ $${CORE_DEPEND}; then \
echo ">>> Missing dependency: $${CORE_DEPEND}" >&2; \
exit 1; \
fi; \
done done
@echo "}" @echo "}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment