Skip to content

Commit

Permalink
download_assets: clean old remoteassets entry before parsing the recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Jan 25, 2022
1 parent acf1d89 commit 98902d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions download_assets
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ for my $dir (@dirs) {
my $bt = Build::recipe2buildtype($file);
next unless $bt;
$p->{'buildtype'} = $bt;
delete $p->{'remoteassets'};
my $d;
eval { $d = Build::parse_typed($bconf, "$dir/$file", $bt) };
$p->{'remoteassets'} = $d->{'remoteassets'} if $d && $d->{'remoteassets'};
Expand Down

0 comments on commit 98902d1

Please sign in to comment.