Commit c9b5c8e6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: fix add srpm to task, add verbose

parent 471eb4d5
......@@ -250,9 +250,11 @@ if [ -n "$SIGN" ]; then
done
if [ -n "$TASKNUMBER" ] ; then
echo "Add $TASKLIST to task $TASKNUMBER"
ssh $GIRARHOST task add $TASKNUMBER srpm $TASKLIST
[ -n "$VERBOSE" ] && echo "...with command ssh $GIRARHOST task add $TASKNUMBER $TASKLIST"
ssh $GIRARHOST task add $TASKNUMBER $TASKLIST
else
echo "Create task for $TASKLIST"
[ -n "$VERBOSE" ] && echo "...with command ssh $GIRARHOST build -b $BINARYREPO $TASKLIST"
ssh $GIRARHOST build -b $BINARYREPO $TASKLIST
fi
......
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