summaryrefslogtreecommitdiff
path: root/spectool
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2010-09-07 10:15:09 +0200
committerLudwig Nussel <ludwig.nussel@suse.de>2010-09-20 14:15:07 +0200
commit95d17c94bd02b702df3a488a7e33176a9532b1f9 (patch)
treeeb11f03d3607ae000587cb2bbc83679dfc27febc /spectool
parentd5a0effe3be01ef40125d98b12b4eade530db745 (diff)
also support https download
Diffstat (limited to 'spectool')
-rwxr-xr-xspectool2
1 files changed, 1 insertions, 1 deletions
diff --git a/spectool b/spectool
index c1b6cdb..1d1dad3 100755
--- a/spectool
+++ b/spectool
@@ -277,7 +277,7 @@ for my $spec (@specs) {
for my $t (keys %$parsed) {
next unless ($t =~ /^(?:source|patch)\d*/);
my $url = $parsed->{$t};
- next unless $url =~ /^(?:http|ftp):\/\//;
+ next unless $url =~ /^(?:https?|ftp):\/\//;
my $file = $url;
$file =~ s/.*\///;
next if -e $file;