Recompile remaining MODULE list after a miss

(fixes #18, closes #21)
This commit is contained in:
Ralph Lange
2020-03-02 18:14:44 +01:00
parent e3dace9ee3
commit eb471d9539
2 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -177,7 +177,7 @@ add_dependency() {
echo "Cloning $TAG of dependency $DEP into $CACHEDIR/$dirname-$TAG"
git clone --quiet $deptharg $recurse --branch "$TAG" $repourl $dirname-$TAG
( cd $dirname-$TAG && git log -n1 )
modules_to_compile="${modules_to_compile} $CACHEDIR/$dirname-$TAG"
do_recompile=yes
# fix non-base modules that do not include the .local files in configure/RELEASE
if [ $DEP != "BASE" ]
then
@@ -204,5 +204,7 @@ add_dependency() {
cd "$curdir"
fi
[ "${do_recompile}" ] && modules_to_compile="${modules_to_compile} $CACHEDIR/$dirname-$TAG"
update_release_local ${varname} $CACHEDIR/$dirname-$TAG
}