aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinit-repository4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-repository b/init-repository
index 966e0c16..ae3f0495 100755
--- a/init-repository
+++ b/init-repository
@@ -337,8 +337,12 @@ sub git_clone_all_submodules
} elsif ($mod eq "obsolete") {
map { $include{$_} = 1; } grep { ($subinits{$_} || 0) eq STS_OBSOLETE } keys %subbases;
} elsif ($mod =~ s/^-//) {
+ print "Warning: excluding non-existent module '$mod'.\n"
+ if (!defined($subdirs{$mod}));
delete $include{$mod};
} else {
+ die("Error: module subset names non-existent '$mod'.\n")
+ if (!defined($subdirs{$mod}));
$include{$mod} = 1;
}
}