aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pl
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-04-13 15:33:53 +0200
committerJo-Philipp Wich <jo@mein.io>2016-04-13 15:33:53 +0200
commit9a04a806772919c2ab2b599e134eae0d60e6e0a6 (patch)
treef07a116a426a7fca315e40dfc319a4a6160dfdc5 /scripts/metadata.pl
parentaad2b92603d5d317a4acac446ca2ed1e97ae7b02 (diff)
downloadupstream-9a04a806772919c2ab2b599e134eae0d60e6e0a6.tar.gz
upstream-9a04a806772919c2ab2b599e134eae0d60e6e0a6.tar.bz2
upstream-9a04a806772919c2ab2b599e134eae0d60e6e0a6.zip
scripts: metadata: use the new "Repository" field
Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'scripts/metadata.pl')
-rwxr-xr-xscripts/metadata.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index 6ad3c39f00..a55b7990f7 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -849,8 +849,8 @@ sub gen_package_subdirs() {
parse_package_metadata($ARGV[0]) or exit 1;
foreach my $name (sort {uc($a) cmp uc($b)} keys %package) {
my $pkg = $package{$name};
- if ($pkg->{name} && $pkg->{package_subdir}) {
- print "Package/$name/subdir = $pkg->{package_subdir}\n";
+ if ($pkg->{name} && $pkg->{repository}) {
+ print "Package/$name/subdir = $pkg->{repository}\n";
}
}
}