Commit b6542511 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix command using (due autorequires)

parent df71e864
......@@ -309,7 +309,7 @@ if [ -n "$CHECKONLINE" ] ; then
if [ -n "$GIRAR_USER" ] ; then
GITURL="http://git.altlinux.org/people/$GIRAR_USER/packages/$PKGNAME.git"
if GET -d $GITURL ; then
if $GET -d $GITURL ; then
echog "Published at $GITURL by $GIRAR_USER"
else
echog "There is no git repo $GITURL"
......
......@@ -16,7 +16,7 @@ update_from_cvs()
REP=`cat CVS/Repository`
ROT=`cat CVS/Root`
echo "Update from CVS... $ROT/$REP"
cvs -z3 update -dPR || fatal $"Fail during update from CVS..."
a= cvs -z3 update -dPR || fatal $"Fail during update from CVS..."
else
fatal $"CVS dir not found"
fi
......
......@@ -11,5 +11,6 @@ which GET &>/dev/null && GET=GET || GET=false
download_url()
{
# use wget with try=1 and timeout = 30 sec
wget -c -t 1 -T 30 "$1"
which wget || fatal "Can't download, wget command is missed"
a= wget -c -t 1 -T 30 "$1"
}
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