]> git.donarmstrong.com Git - bin.git/commitdiff
use links2 in get_pdf
authorDon Armstrong <don@donarmstrong.com>
Fri, 10 Sep 2010 23:37:35 +0000 (23:37 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 10 Sep 2010 23:37:35 +0000 (23:37 +0000)
get_pdf

diff --git a/get_pdf b/get_pdf
index 8187738bb1bd80fec8f07068892e5ee18501bf82..745ea9aedec558b4ddea088c70784c2013f5dd15 100755 (executable)
--- a/get_pdf
+++ b/get_pdf
@@ -150,7 +150,7 @@ if ($options{pmid}) {
        };
        if ($@) {
            print STDERR "$@\n" if $DEBUG;
-           system('links',
+           system('links2',
                   exists $options{http_proxy}?('-http-proxy',$options{http_proxy}):(),
                   $url
                  ) == 0 or next;