autoport: just call 'autospec -a4 --rebuild ..' in REBUILD_MILESTONE mode

This commit is contained in:
Silvan Calarco 2013-05-26 13:57:34 +02:00
parent c0f51ea3ac
commit 272860e5fe

View File

@ -505,9 +505,10 @@ for TARGET_ARCH in ${TARGET_ARCHS}; do
echo "(FAILED) [can't get repository information for this package]"
continue
}
[ "$VERBOSE_MODE" ] && echo "
%% COMMAND: LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --rebuild --changelog \"$REBUILD_MILESTONE milestone rebuild\""
# FIXME: should be implemented in autodist
LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 ${src_version} ${src_numrelease}${REBUILD_MILESTONE} \
--changelog "$REBUILD_MILESTONE milestone rebuild" &>$tmpfile
LANG=C LC_ALL=C autospec -u ${JOB_CURRENT} -a4 --rebuild --changelog "$REBUILD_MILESTONE milestone rebuild" &>$tmpfile
[ $? -gt 0 ] && {
if [ "$VERBOSE_MODE" ]; then
echo