From 764959170de91f0368af1084ee254a5a87bef053 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Jun 2020 19:28:46 +0100 Subject: [PATCH] nailing-cargo: Trigger out of tree with oot.user too Signed-off-by: Ian Jackson --- nailing-cargo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nailing-cargo b/nailing-cargo index 4912955..08e82f1 100755 --- a/nailing-cargo +++ b/nailing-cargo @@ -276,7 +276,8 @@ our $oot_dir; # oot.dir or "Build" sub consider_oot () { $oot_dir = cfgs qw(oot dir); my $use = cfgs qw(oot use); - unless (defined($oot_dir) || defined($use)) { + unless (defined($oot_dir) || defined($use) || + defined(cfg_uc qw(oot user))) { die "$self: specified --cargo-lock-update but not out-of-tree build!\n" if $cargo_lock_update; $cargo_lock_update=0; -- 2.30.2