Skip to content

Commit

Permalink
[backend] fix bs_productconvert to run within test suite and without …
Browse files Browse the repository at this point in the history
…warning lines
  • Loading branch information
adrianschroeter committed Nov 9, 2012
1 parent b18b801 commit 094e94a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/bs_productconvert
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
BEGIN {
my ($wd) = $0 =~ m-(.*)/- ;
$wd ||= '.';
chdir($wd);
unshift @INC, "$wd/build";
unshift @INC, "$wd";
}

Expand Down Expand Up @@ -1266,7 +1268,7 @@ foreach my $medium ( @$media ){
next if( $opt_m && $name ne $opt_m );

# create one kiwi file each for every of the archsets
if ( defined(@{$medium->{archsets}}) ) {
if (@{$medium->{archsets}}) {
my @archSets = @{$medium->{archsets}};
foreach my $arch ( @archSets ) {
my @archs;
Expand Down

0 comments on commit 094e94a

Please sign in to comment.