modules: check also for modules/.git

This commit is contained in:
Andrew Tridgell 2015-06-09 12:34:09 +10:00
parent 02aa6983a7
commit fc3b75710f

View File

@ -14,6 +14,11 @@ for m in $MODULE_LIST; do
NEED_INIT=1
break
}
[ -f modules/$m/.git ] || {
echo "module/$m/.git missing - need module init"
NEED_INIT=1
break
}
done
[ $NEED_INIT = 1 ] && {