Current maven eselect module fails to highlight which maven version is "(eselect)ed". The culprit is in do_list function in src/modules/eselect.maven.in file and the fix is really simple (a tentative patch is attached). It may also fix or be a workaround for https://bugs.gentoo.org/show_bug.cgi?id=549498 Reproducible: Always
Created attachment 436724 [details, diff] tentative patch for maven.eselect.in
(In reply to pierigno from comment #1) > Created attachment 436724 [details, diff] [details, diff] > tentative patch for maven.eselect.in Why did you remove the quotes around the subshell?
Created attachment 436754 [details, diff] fix-maven-do_list.patch While inspecting, I removed the quotes because I thought they were messing with the basename subshell and were reduntant. I realize now that they weren't and that in $(command1 "$(command2)"), "$(command2)" and may be also the result of multiple strings concatenation. The patch quotes subshell for readlink and substitutes previous patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b1e1135f89f04d2d12d2df862cf27cb08c6ea0 commit 12b1e1135f89f04d2d12d2df862cf27cb08c6ea0 Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2018-03-04 12:04:53 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2018-03-04 12:06:19 +0000 app-eselect/eselect-java: 0.4.0 stable on ppc64, x86 using ALLARCHES Closes: https://bugs.gentoo.org/649506 Closes: https://bugs.gentoo.org/549498 Closes: https://bugs.gentoo.org/585224 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-eselect/eselect-java/eselect-java-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)