diff options
-rwxr-xr-x | bin/repoman | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 51aaff442..2342b1dab 100755 --- a/bin/repoman +++ b/bin/repoman @@ -581,9 +581,11 @@ except: err("Couldn't read USE flags from use.desc") # retrieve a list of current licenses in portage -liclist=portage.listdir(portdir+"/licenses") +liclist = set(portage.listdir(os.path.join(portdir, "licenses"))) if not liclist: err("Couldn't find licenses?") +if portdir_overlay != portdir: + liclist.update(portage.listdir(os.path.join(portdir_overlay, "licenses"))) # retrieve list of offical keywords try: |