chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7a57f4
)
nailing-cargo: Trigger out of tree with oot.user too
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jun 2020 18:28:46 +0000
(19:28 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Jun 2020 18:28:46 +0000
(19:28 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
nailing-cargo
patch
|
blob
|
history
diff --git
a/nailing-cargo
b/nailing-cargo
index 491295572644623f0cbb7f4e5babe0fc2e8bdeb6..08e82f1bce02e81b94c5fab1c5a77eb8df81cbc3 100755
(executable)
--- 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;