mirror of https://github.com/apache/archiva.git
Fixing error with bad repository path
This commit is contained in:
parent
d3fd08be17
commit
7536a89125
|
@ -854,7 +854,7 @@ public class DefaultArchivaConfiguration
|
||||||
Path repoLocation = Paths.get(repoPath);
|
Path repoLocation = Paths.get(repoPath);
|
||||||
|
|
||||||
if (Files.exists(repoLocation) && Files.isDirectory(repoLocation) && !repoPath.endsWith(
|
if (Files.exists(repoLocation) && Files.isDirectory(repoLocation) && !repoPath.endsWith(
|
||||||
"data/repositories/" + repo.getId())) {
|
"/repositories/" + repo.getId())) {
|
||||||
repo.setLocation(repoPath + "/data/repositories/" + repo.getId());
|
repo.setLocation(repoPath + "/data/repositories/" + repo.getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue