Skip to content

Commit

Permalink
Fix dependency parsing for dsc files
Browse files Browse the repository at this point in the history
The code didn't strip leading white space.
  • Loading branch information
mlschroe committed Aug 22, 2014
1 parent 443ffa5 commit 7dd727a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Deb.pm
Expand Up @@ -63,7 +63,7 @@ sub parse {
} elsif ($tag eq 'SOURCE') {
$name = $data;
} elsif ($tag eq 'BUILD-DEPENDS' || $tag eq 'BUILD-CONFLICTS' || $tag eq 'BUILD-IGNORE' || $tag eq 'BUILD-DEPENDS-INDEP') {
my @d = split(/,\s*/, $data);
my @d = split(/\s*,\s*/, $data);
for my $d (@d) {
my @alts = split('\s*\|\s*', $d);
my @needed;
Expand Down

0 comments on commit 7dd727a

Please sign in to comment.