Commit d7218158 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix small bugs

parent 4b17d8e6
......@@ -105,7 +105,7 @@ for i in $SPECLIST ; do
#altbug --pkg "$PKGNAME" --subj "$SUMMARY"
show_bugbyid $ID
else
local URLBUGLIST="$BUGZILLAURL/buglist.cgi?product=$PRODUCT&component=$PKGNAME&component_type=equals&simple=1"
URLBUGLIST="$BUGZILLAURL/buglist.cgi?product=$PRODUCT&component=$PKGNAME&component_type=equals&simple=1"
show_bugs "$URLBUGLIST" | grep "@"
fi
......
......@@ -11,6 +11,6 @@ which GET &>/dev/null && GET=GET || GET=false
download_url()
{
# use wget with try=1 and timeout = 30 sec
which wget || fatal "Can't download, wget command is missed"
which wget >/dev/null || 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