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