Change overlay name to match portage when repo_name is not found.
authorPaul Varner <fuzzyray@gentoo.org>
Mon, 20 Feb 2012 23:22:19 +0000 (17:22 -0600)
committerPaul Varner <fuzzyray@gentoo.org>
Mon, 20 Feb 2012 23:22:19 +0000 (17:22 -0600)
bin/euse

index 25b718b69ec41508c745d34d96d9fa9f2239ce76..6d3f811c0052639671c075936399dc00341ecd76 100755 (executable)
--- a/bin/euse
+++ b/bin/euse
@@ -388,7 +388,7 @@ get_useflaglist_ebuild() {
                        overlay="$(cat "${portdir}/profiles/repo_name")"
                else
                        # XXX: May be better to use full path
-                       overlay="$(basename "${portdir}")"
+                       overlay="x-$(basename "${portdir}")"
                fi
                # Open the ebuild file and retrieve defined USE flags
                [[ ! -d "$portdir/${1}" ]] && continue