Fix a typo in a helper script that was causing a file to be left laying around.

Submitted by:	Scott Allendorf <scott-allendorf@uiowa.edu>
This commit is contained in:
Josh Paetzel 2019-03-25 16:00:16 +00:00
parent fe2ab9b045
commit 66d7adf212
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496830
2 changed files with 10 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= xephem
PORTVERSION= 3.7.7
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= astro
MASTER_SITES= http://www.clearskyinstitute.com/xephem/

View file

@ -9,3 +9,12 @@
my $MPCFTPDIR = "/iau/MPCORB";
my $MPCFILE = "MPCORB.DAT";
my $MPCZIPFILE = "MPCORB.DAT.gz";
@@ -247,7 +247,7 @@ sub fetch
{
# transfer
print "Getting $MPCFTPDIR/$MPCZIPFILE from $MPCSITE...\n";
- $cmd = "curl -connect-timeout 10 -s -u 'anonymous:xephem\@clearskyinstitute.com' $MPCSITE/$MPCFTPDIR/$MPCZIPFILE > $MPCZIPFILE";
+ $cmd = "curl --connect-timeout 10 -s -u 'anonymous:xephem\@clearskyinstitute.com' $MPCSITE/$MPCFTPDIR/$MPCZIPFILE > $MPCZIPFILE";
print "$cmd\n";
!system "$cmd" or exit(1);