Skip to content

Commit

Permalink
[backend] ignore _buildenv file in followup mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Nov 18, 2014
1 parent 6a3a499 commit b334617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_worker
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,7 @@ sub getoldpackages {
sub readbuildenv {
my ($buildinfo, $src) = @_;
my $bi = readxml("$src/_buildenv.$buildinfo->{'repository'}.$buildinfo->{'arch'}", $BSXML::buildinfo, 1);
$bi ||= readxml("$src/_buildenv", $BSXML::buildinfo, 1);
$bi ||= readxml("$src/_buildenv", $BSXML::buildinfo, 1) unless $buildinfo->{'followupfile'};
return unless $bi;
die("buildenv does not work for kiwi builds\n") if $buildinfo->{'file'} =~ /\.kiwi$/;
# have a buildenv! patch stuff!
Expand Down

0 comments on commit b334617

Please sign in to comment.