aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoman/lib/repoman/modules/scan/module.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/repoman/lib/repoman/modules/scan/module.py b/repoman/lib/repoman/modules/scan/module.py
index 3321cb224..41c1becfc 100644
--- a/repoman/lib/repoman/modules/scan/module.py
+++ b/repoman/lib/repoman/modules/scan/module.py
@@ -31,9 +31,9 @@ class ModuleConfig:
if repository_modules:
self.configpaths = [os.path.join(path, 'repository.yaml') for path in configpaths]
elif _not_installed:
- self.configpaths = [os.path.realpath(os.path.join(os.path.dirname(
+ self.configpaths = [os.path.realpath(os.path.join(
os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
- os.path.dirname(__file__)))))), 'repoman/cnf/repository/repository.yaml'))]
+ os.path.dirname(__file__))))), 'cnf/repository/repository.yaml'))]
else:
self.configpaths = [os.path.join(portage.const.EPREFIX or '/',
'usr/share/repoman/repository/repository.yaml')]