Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
$cargo_lock_update=0;
return;
}
$cargo_lock_update=0;
return;
}
- if ($use eq 'disable') {
+ if (($use//'') eq 'disable') {
$oot_dir = undef;
return;
}
$oot_dir = undef;
return;
}
return unless defined $oot_dir;
my $use = cfgs qw(oot use);
return unless defined $oot_dir;
my $use = cfgs qw(oot use);
+ $use // die "$self: out-of-tree build, but \`oot.use' not configured\n";
$oot_absdir = ($oot_dir !~ m{^/} ? "$worksphere/" : ""). $oot_dir;
$build_absdir = "$oot_absdir/$subdir";
$oot_absdir = ($oot_dir !~ m{^/} ? "$worksphere/" : ""). $oot_dir;
$build_absdir = "$oot_absdir/$subdir";