mirror of https://github.com/apache/archiva.git
be consistent for index repository created with a relative path with default ones
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
442c782a1d
commit
a331e649ca
|
@ -589,9 +589,9 @@ public class DefaultManagedRepositoryAdmin
|
|||
|
||||
if ( !repositoryDirectory.isAbsolute() )
|
||||
{
|
||||
repositoryDirectory =
|
||||
new File( getRegistry().getString( "appserver.base" ) + File.separatorChar + "repositories",
|
||||
repository.getLocation() );
|
||||
repositoryDirectory = new File(
|
||||
getRegistry().getString( "appserver.base" ) + File.separatorChar + "data" + File.separatorChar
|
||||
+ "repositories", repository.getLocation() );
|
||||
}
|
||||
|
||||
if ( !repositoryDirectory.exists() )
|
||||
|
|
Loading…
Reference in New Issue