build/packages: if ports clears the packages flag we can now test and skip
This commit is contained in:
parent
0dd6820d8b
commit
70495e7e75
|
@ -31,6 +31,11 @@ SELF=packages
|
|||
|
||||
. ./common.sh
|
||||
|
||||
if check_packages ${SELF} ${@}; then
|
||||
echo ">>> Step ${SELF} is up to date"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
AUXLIST=$(list_packages "${AUXLIST}" ${CONFIGDIR}/aux.conf)
|
||||
|
||||
setup_stage ${STAGEDIR}
|
||||
|
|
|
@ -34,7 +34,7 @@ SELF=ports
|
|||
eval ${PORTSENV}
|
||||
|
||||
ARGS=${*}
|
||||
DEPS=
|
||||
DEPS=packages
|
||||
|
||||
for OPT in BATCH DEPEND PRUNE; do
|
||||
VAL=$(eval echo \$${OPT});
|
||||
|
@ -77,7 +77,7 @@ if extract_packages ${STAGEDIR}; then
|
|||
|
||||
if [ ${DEPEND} = "yes" ]; then
|
||||
ARGS="${ARGS} ${PRODUCT_CORES} ${PRODUCT_PLUGINS}"
|
||||
DEPS="plugins core"
|
||||
DEPS="${DEPS} plugins core"
|
||||
fi
|
||||
remove_packages ${STAGEDIR} ${ARGS}
|
||||
if [ ${PRUNE} = "yes" ]; then
|
||||
|
|
Loading…
Reference in New Issue