build/plugins: add selective (re)build support

This commit is contained in:
Franco Fichtner 2016-01-26 08:16:10 +01:00
parent 6c9beb690c
commit 46ba822524
1 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,12 @@ set -e
. ./common.sh && $(${SCRUB_ARGS})
PLUGINS_LIST=$(make -C ${PLUGINSDIR} list)
if [ -z "${*}" ]; then
PLUGINS_LIST=$(make -C ${PLUGINSDIR} list)
else
PLUGINS_LIST="${*}"
fi
PLUGINS_MARKER="plugins"
check_packages ${PLUGINS_MARKER} ${@}