Commit 05235737 authored by Vitaly Lipatov's avatar Vitaly Lipatov

grpmbs: fix GEARHOST

parent c782d0b9
...@@ -47,7 +47,7 @@ fatal() ...@@ -47,7 +47,7 @@ fatal()
} }
if [ -n "TASKADD" ] ; then if [ -n "TASKADD" ] ; then
TASK=$(ssh $GIRARHOST task new | head -n1) TASK=$(ssh $GEARHOST task new | head -n1)
[ -n "$TASK" ] || fatal [ -n "$TASK" ] || fatal
RUNCOMMAND="rpmbs $GIRARHOST -a $TASK" RUNCOMMAND="rpmbs $GIRARHOST -a $TASK"
else else
...@@ -63,5 +63,5 @@ for i in "$@" ; do ...@@ -63,5 +63,5 @@ for i in "$@" ; do
done done
if [ -n "TASKADD" ] ; then if [ -n "TASKADD" ] ; then
docmd ssh $GIRARHOST task run "$TASK" docmd ssh $GEARHOST task run "$TASK"
fi 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