autodist: avoid calling autospec send with --nosrpm --norpm (for autoport)
This commit is contained in:
parent
8fa299b2f2
commit
d99d231b47
3
autodist
3
autodist
@ -1263,6 +1263,8 @@ for JOB_NUM in `seq 1 ${#JOBNAME[*]}`; do
|
|||||||
exit 1 ;;
|
exit 1 ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
# avoid calling autospec with --nosrpm --norpm (not working as expected and not useful)
|
||||||
|
if [ "$AUTOSPEC_ARGS/--nosrpm" = "$AUTOSPEC_ARGS" ]; then
|
||||||
echo "== sending source rpms"
|
echo "== sending source rpms"
|
||||||
launch_pkgs_loop send "$AUTOSPEC_ARGS --norpm $SEND_SERVER_CMD"
|
launch_pkgs_loop send "$AUTOSPEC_ARGS --norpm $SEND_SERVER_CMD"
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
@ -1285,6 +1287,7 @@ for JOB_NUM in `seq 1 ${#JOBNAME[*]}`; do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
# if we are here the job was completed; remove manual entry, if any, and add to successlist
|
# if we are here the job was completed; remove manual entry, if any, and add to successlist
|
||||||
[ "$do_autobuild" ] && {
|
[ "$do_autobuild" ] && {
|
||||||
sed -i "/^$JOB_NAME .*/d" $AUTOUPDATEDIR/*.in
|
sed -i "/^$JOB_NAME .*/d" $AUTOUPDATEDIR/*.in
|
||||||
|
Loading…
Reference in New Issue
Block a user