wrong format for URL when ussing wget

Agustin Navarro <[email protected]>
Newsgroups gmane.linux.redhat.rpm.grab
Message-ID <[email protected]>
Hi Greg:

When ussing wget, grab-0.2.29 generates an icorrect URL. The generated URL is:

/usr/bin/wget -r -c -nd -P /var/cache/grab/RPMS/
ftp.sunet.se/pub/os/Linux/distributions/ mandrake-devel/cooker/
i586/Mandrake/RPMS//expect-8.3.3-9mdk.i586.rpm

This incorrect URL is generated by

system ("$bin_wget -r -c -nd -P $rpm_repository $location");

it sholud be something like:

system ("$bin_wget -r -c -nd -P $rpm_repository ftp://$location");


The correct URL should be /usr/bin/wget -r -c -nd -P /var/cache/grab/RPMS/
ftp://ftp.sunet.se/pub/os/Linux/distributions/mandrake-devel/cooker/
i586/Mandrake/RPMS//expect-8.3.3-9mdk.i586.rpm


regards,

Agustin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.