projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add proper build depends
[openwrt.git]
/
scripts
/
gen_deps.pl
diff --git
a/scripts/gen_deps.pl
b/scripts/gen_deps.pl
index
ef49fa3
..
40153bd
100755
(executable)
--- 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;
};
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;
};
}
$pkg{$name}->{depends} = \@dep;
};
}
This page took
0.023568 seconds
and
4
git commands to generate.