Commit 2f9df88a authored by Vitaly Lipatov's avatar Vitaly Lipatov

gitask: fix to add for subtask 1 too

parent 19dfa0b1
......@@ -282,6 +282,8 @@ if [ "$1" = "add" ] || [ "$1" = "Add" ] ; then
info "$PACKAGE already present in the task $TASK as subtask $ST, replacing ..."
docmd ssh $GEARHOST task delsub $TASK $ST
[ -n "$SUBTASK" ] || SUBTASK="$ST"
# too much re add to the same place
[ "$SUBTASK" = "1" ] && SUBTASK=""
fi
docmd ssh $GEARHOST task add $TASK $SUBTASK $ADDCMD $PACKAGE
done
......
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