Skip to content

Commit 0ffb8f8

Browse files
committed
fix multi cd handling
1 parent 56c534e commit 0ffb8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

createyastdeps

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ while (@ARGV)
124124
# multi cd support hack
125125
my $num = $data[0];
126126
if($pkg->{'baseurl'} =~ /1\/$/ && $num ne 0) {
127-
$pkg->{'baseurl'} =~ s/1\//$num\//;
127+
$pkg->{'baseurl'} =~ s/1\/$/$num\//;
128128
}
129129
$pkg->{'location'} = $data[1];
130130
} elsif ($tag eq 'Siz:') {

0 commit comments

Comments
 (0)