aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl-compile-conf')
-rwxr-xr-xsrc/gl-compile-conf3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gl-compile-conf b/src/gl-compile-conf
index 371e912..842a30a 100755
--- a/src/gl-compile-conf
+++ b/src/gl-compile-conf
@@ -133,8 +133,6 @@ sub expand_list
for my $item (@list)
{
- die "$ABRT bad user or repo name $item\n"
- unless ($GL_WILDREPOS ? $item =~ $REPOPATT_PATT : $item =~ $REPONAME_PATT) or $item =~ $USERNAME_PATT;
if ($item =~ /^@/) # nested group
{
die "$ABRT undefined group $item\n" unless $groups{$item};
@@ -198,6 +196,7 @@ sub parse_conf_file
@repos = keys %repos;
} else {
@repos = expand_list ( @repos );
+ do { die "$ABRT bad reponame $_\n" unless ($GL_WILDREPOS ? $_ =~ $REPOPATT_PATT : $_ =~ $REPONAME_PATT) } for @repos;
}
s/\bCREAT[EO]R\b/\$creater/g for @repos;
}