aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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 af206f0047..0fc80aae85 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;