At 7:51 Uhr -0800 31.01.2002, Randal L. Schwartz wrote:
>It's not elegant, but it works. You can ^C out of a download, or even
>say "give up" on a particular item, and it merely moves on to the next
>one. This lets you fetch as much as possible while you're online, so
>you can build offline (except the still-missing pieces, of course).
>
>--- /sw/lib/perl5/Fink/Engine.pm-DIST Tue Dec 11 08:53:39 2001
>+++ /sw/lib/perl5/Fink/Engine.pm Thu Jan 31 08:45:38 2002
>@@ -445,7 +445,10 @@
> $version = &latest_version($package->list_versions());
> $vo = $package->get_version($version);
> if (defined $vo) {
>- $vo->phase_fetch(1);
>+ eval {
>+ $vo->phase_fetch(1);
>+ };
>+ warn "$@" if $@; # turn fatal exceptions into warnings
> }
> }
> }
Randal,
would you mind extending the patch so that it works for fetch-all,
too, then I could put it into CVS.
Cheers,
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel