From 426a7bbe213bb0a769619bdbf49c60065f5e4344 Mon Sep 17 00:00:00 2001 From: Brandon Rhodes Date: Tue, 23 Nov 2021 07:36:19 -0500 Subject: [PATCH] =?UTF-8?q?For=20#30,=20remove=20repeated=20=E2=80=9Chttps?= =?UTF-8?q?://=E2=80=9D=20from=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GUI/xephem/auxil/astorb2edb.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GUI/xephem/auxil/astorb2edb.pl b/GUI/xephem/auxil/astorb2edb.pl index 1c6754b..947a8d2 100755 --- a/GUI/xephem/auxil/astorb2edb.pl +++ b/GUI/xephem/auxil/astorb2edb.pl @@ -233,8 +233,8 @@ sub fetch { # transfer print "Getting $ORBFTPDIR/$ORBGZFILE from $ORBSITE...\n"; - $cmd_v1 = "curl -s --connect-timeout 10 -u 'anonymous:xephem\@github.com' https://$ORBSITE/$ORBFTPDIR/$ORBGZFILE > $ORBGZFILE"; - $cmd_v2 = "curl -s --disable-epsv --connect-timeout 10 -u 'anonymous:xephem\@github.com' https://$ORBSITE/$ORBFTPDIR/$ORBGZFILE > $ORBGZFILE"; + $cmd_v1 = "curl -s --connect-timeout 10 -u 'anonymous:xephem\@github.com' $ORBSITE/$ORBFTPDIR/$ORBGZFILE > $ORBGZFILE"; + $cmd_v2 = "curl -s --disable-epsv --connect-timeout 10 -u 'anonymous:xephem\@github.com' $ORBSITE/$ORBFTPDIR/$ORBGZFILE > $ORBGZFILE"; print "trying $cmd_v1\n"; $curl_return = system "$cmd_v1"; $curl_return = $curl_return >> 8;