build: Check for any submodules uninitialized, not just mantle
Fixup for removing mantle git submodule.
@@ -77,7 +77,7 @@ _prep_make_and_make_install() {
mkdir -p /usr/app/
rsync -rlv "${srcdir}"/ostree-releng-scripts/ /usr/app/ostree-releng-scripts/
- if [ "$(git submodule status mantle | head -c1)" == "-" ]; then
+ if git submodule status | grep -qEe '^-'; then
echo -e "\033[1merror: submodules not initialized. Run: git submodule update --init\033[0m" 1>&2
exit 1
fi
