aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_deps.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_deps.pl')
-rwxr-xr-xscripts/gen_deps.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl
index ef49fa3f41..40153bde3d 100755
--- a/scripts/gen_deps.pl
+++ b/scripts/gen_deps.pl
@@ -18,8 +18,8 @@ while ($line = <>) {
defined $pkg{$name} or $pkg{$name} = {};
$pkg{$name}->{src} = $src;
};
- $line =~ /^Depends: \s*(.+)\s*$/ and do {
- my @dep = split /,\s*/, $1;
+ $line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
+ my @dep = split /,\s*/, $2;
$pkg{$name}->{depends} = \@dep;
};
}