Only last directory is repo_name
This commit is contained in:
parent
8929aba28d
commit
db6814f4de
@ -69,7 +69,7 @@ sub check_xml
|
||||
sub repository_name
|
||||
{
|
||||
my $repo = $ENV{GL_REPO};
|
||||
$repo =~ s#^subjects/(.*)#$1#;
|
||||
$repo =~ s#/([^/]*)#$1#;
|
||||
return $repo;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user