mirror of https://github.com/apache/archiva.git
take care of non absolute directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196839 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb125e9a34
commit
b698377ca7
|
@ -541,6 +541,10 @@ public class DefaultManagedRepositoryAdmin
|
||||||
if ( indexDir != null && !"".equals( indexDir ) )
|
if ( indexDir != null && !"".equals( indexDir ) )
|
||||||
{
|
{
|
||||||
indexDirectory = new File( repository.getIndexDirectory() );
|
indexDirectory = new File( repository.getIndexDirectory() );
|
||||||
|
if ( !indexDirectory.isAbsolute() )
|
||||||
|
{
|
||||||
|
indexDirectory = new File( managedRepository, repository.getIndexDirectory() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue