projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccb11f
)
allow random junk after .iso
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 3 May 2010 15:15:08 +0000
(15:15 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 3 May 2010 15:15:08 +0000
(15:15 +0000)
SourceForge has /download after filename
lib/PXElator/upstream.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/upstream.pm
b/lib/PXElator/upstream.pm
index
23d5310
..
48b0e4c
100644
(file)
--- a/
lib/PXElator/upstream.pm
+++ b/
lib/PXElator/upstream.pm
@@
-30,7
+30,7
@@
sub iso {
my $dir = "$server::base_dir/iso";
mkdir $dir unless -e $dir;
- my $file = $1 if $url =~ m{/([^/]+\.iso
$
)}i;
+ my $file = $1 if $url =~ m{/([^/]+\.iso)}i;
die "can't find iso file in $url" unless $file;
my $iso = "$dir/$file";