build/plugins: last branch wins here in contrast to general behaviour
Plugins have a special handling whereas the last active branch gets to insert its package. The same could be done for core, but here we only have one package per branch and they should not overlap in naming.
This commit is contained in:
parent
ee7dfd1686
commit
adfd2ba5ce
|
@ -105,6 +105,16 @@ for BRANCH in ${EXTRABRANCH} ${PLUGINSBRANCH}; do
|
|||
PLUGIN_DEPS=$(make -C ${STAGEDIR}${PLUGINSDIR}/${PLUGIN} ${PLUGIN_ARGS} -v PLUGIN_DEPENDS)
|
||||
PLUGIN_VERS=$(make -C ${STAGEDIR}${PLUGINSDIR}/${PLUGIN} ${PLUGIN_ARGS} -v PLUGIN_PKGVERSION)
|
||||
|
||||
for REMOVED in ${@}; do
|
||||
if [ ${REMOVED} = ${PLUGIN_NAME} ]; then
|
||||
# make sure a subsequent built of the
|
||||
# same package goes through by removing
|
||||
# it while it may have been rebuilt on
|
||||
# another branch
|
||||
remove_packages ${STAGEDIR} ${REMOVED}
|
||||
fi
|
||||
done
|
||||
|
||||
if search_packages ${STAGEDIR} ${PLUGIN_NAME} ${PLUGIN_VERS}; then
|
||||
# already built
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue