diff options
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman index e64432a26..f50705174 100755 --- a/bin/repoman +++ b/bin/repoman @@ -440,6 +440,9 @@ portdir, portdir_overlay, mydir = utilities.FindPortdir(repoman_settings) if portdir is None: sys.exit(1) +myreporoot = os.path.basename(portdir_overlay) +myreporoot += mydir[len(portdir_overlay):] + vcs = None if os.path.isdir("CVS"): vcs = "cvs" @@ -515,9 +518,6 @@ root_config = RootConfig(repoman_settings, trees[root], None) portdb._aux_cache_keys.clear() portdb._aux_cache_keys.update(["EAPI", "KEYWORDS", "SLOT"]) -myreporoot = os.path.basename(portdir_overlay) -myreporoot += mydir[len(portdir_overlay):] - reposplit = myreporoot.split(os.path.sep) repolevel = len(reposplit) |