Commit 319eef4d authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbsh: run rpmbs only if needed

parent d5b62a51
......@@ -109,13 +109,14 @@ else
echo "-------------------------------"
fi
# make src.rpm if build OK and we have options for rpmbs
if [ ! "$RESULT" = "0" ] || [ -z "$LISTRPMARGS" ]; then
RPMBSARGS=$(drop_args "$LISTRPMARGS" i c l)
if [ ! "$RESULT" = "0" ] || [ -z "$RPMBSARGS" ]; then
exit $RESULT
fi
# make src.rpm if build OK and we have options for rpmbs
is_gear $SPECDIR && TSKLIST=$LISTNAMES || TSKLIST=$LISTBUILT
$ETERBUILDBIN/rpmbs $GIRARHOST $MENVARG $LISTRPMARGS $TSKLIST
$ETERBUILDBIN/rpmbs $GIRARHOST $MENVARG $RPMBSARGS $TSKLIST
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment