Archived
1
0

Only last directory is repo_name

This commit is contained in:
Mercier Pierre-Olivier 2013-11-24 01:05:08 +01:00
parent 8929aba28d
commit db6814f4de

View File

@ -69,7 +69,7 @@ sub check_xml
sub repository_name
{
my $repo = $ENV{GL_REPO};
$repo =~ s#^subjects/(.*)#$1#;
$repo =~ s#/([^/]*)#$1#;
return $repo;
}