summaryrefslogtreecommitdiffstats
path: root/scripts/gen_deps.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_deps.pl')
-rwxr-xr-xscripts/gen_deps.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl
index af206f004..0fc80aae8 100755
--- a/scripts/gen_deps.pl
+++ b/scripts/gen_deps.pl
@@ -28,6 +28,8 @@ while ($line = <>) {
$line =~ /^Source-Makefile: \s*(.+\/([^\/]+)\/Makefile)\s*$/ and do {
$makefile = $1;
$src = $2;
+ defined $pkg{$src} or $pkg{$src} = {};
+ $pkg{$src}->{src} = $src;
};
$line =~ /^Package: \s*(.+)\s*$/ and do {
$name = $1;