From ed27029071283c7b21478e690380b7ed30d19211 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 22 Feb 2021 15:38:42 +0100 Subject: [PATCH] Fix download of remote configs specified with '--dist http:' --- pbuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pbuild b/pbuild index 1513225f4..d0f4f7482 100755 --- a/pbuild +++ b/pbuild @@ -96,7 +96,8 @@ my @baseobsrepos; for my $dist (@{$opts->{'dist'} || []}) { $distcnt++; if ($dist =~ /^https?:\/\//) { - push @baseconfigs, PBuild::Download::fetch($dist); + my ($config) = PBuild::Download::fetch($dist); + push @baseconfigs, $config; } elsif ($dist =~ /^obs:\//) { my $islast = $distcnt == @{$opts->{'dist'} || []} ? 1 : 0; my ($obsconfigs, $obsrepos) = PBuild::OBS::fetch_all_configs($dist, $opts, $islast);