projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdd7d0
)
fix uninitialized variable in metadata.pm (#3860)
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Aug 2008 17:00:50 +0000
(17:00 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 16 Aug 2008 17:00:50 +0000
(17:00 +0000)
SVN-Revision: 12325
scripts/metadata.pm
patch
|
blob
|
history
diff --git
a/scripts/metadata.pm
b/scripts/metadata.pm
index fd18b18a29c039315f492cb938d392777f553071..a527d68f8f4254044f01c3911c2be605211ccafc 100644
(file)
--- a/
scripts/metadata.pm
+++ b/
scripts/metadata.pm
@@
-54,6
+54,7
@@
sub parse_package_metadata($) {
$srcpackage{$src} = [];
undef $pkg;
};
+ next unless $src;
/^Package:\s*(.+?)\s*$/ and do {
$pkg = {};
$pkg->{src} = $src;