aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
index 54961b97b..b9db3042e 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
@@ -854,7 +854,7 @@ public class DefaultArchivaConfiguration
Path repoLocation = Paths.get(repoPath);
if (Files.exists(repoLocation) && Files.isDirectory(repoLocation) && !repoPath.endsWith(
- "data/repositories/" + repo.getId())) {
+ "/repositories/" + repo.getId())) {
repo.setLocation(repoPath + "/data/repositories/" + repo.getId());
}
}