File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 849849 parse_package_metadata($ARGV [0]) or exit 1;
850850 foreach my $name (sort {uc ($a ) cmp uc ($b )} keys %package ) {
851851 my $pkg = $package {$name };
852- if ($pkg -> {name } && $pkg -> {package_subdir }) {
853- print " Package/$name /subdir = $pkg ->{package_subdir }\n " ;
852+ if ($pkg -> {name } && $pkg -> {repository }) {
853+ print " Package/$name /subdir = $pkg ->{repository }\n " ;
854854 }
855855 }
856856}
Original file line number Diff line number Diff line change @@ -223,6 +223,7 @@ sub parse_package_metadata($) {
223223 / ^Build-Depends\/ (\w +): \s *(.+)\s *$ / and $pkg -> {" builddepends/$1 " } = [ split /\s +/, $2 ];
224224 / ^Build-Types:\s *(.+)\s *$ / and $pkg -> {buildtypes } = [ split /\s +/, $1 ];
225225 / ^Package-Subdir:\s *(.+?)\s *$ / and $pkg -> {package_subdir } = $1 ;
226+ / ^Repository:\s *(.+?)\s *$ / and $pkg -> {repository } = $1 ;
226227 / ^Category: \s *(.+)\s *$ / and do {
227228 $pkg -> {category } = $1 ;
228229 defined $category {$1 } or $category {$1 } = {};
You can’t perform that action at this time.
0 commit comments