diff options
author | James Le Cuirot <chewi@gentoo.org> | 2017-12-23 18:56:21 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2017-12-28 21:38:02 +0000 |
commit | 60ae07aea7854d30bb44107733ed34c2846b2663 (patch) | |
tree | d6a3ba89c7ec2c6fe2611ffbf9e6e3a5c5695a2b | |
parent | Prepare 0.3.0 release (diff) | |
download | eselect-java-60ae07aea7854d30bb44107733ed34c2846b2663.tar.gz eselect-java-60ae07aea7854d30bb44107733ed34c2846b2663.tar.bz2 eselect-java-60ae07aea7854d30bb44107733ed34c2846b2663.zip |
Don't emit (unset) or (not a symlink) on stderr (bug #549498)
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | src/modules/ecj.eselect.in | 6 | ||||
-rw-r--r-- | src/modules/maven.eselect.in | 6 |
3 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,7 @@ +0.4.0: + + * Don't emit (unset) or (not a symlink) on stderr (#549498) + 0.3.0: * run-java-tool.bash.in: fix shellcheck issues diff --git a/src/modules/ecj.eselect.in b/src/modules/ecj.eselect.in index f9d5057..7b6d784 100644 --- a/src/modules/ecj.eselect.in +++ b/src/modules/ecj.eselect.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Manage ECJ targets" @@ -57,10 +57,10 @@ do_show() { get_target return 0 elif [[ -e "${ECJ}" ]] ; then - echo "(not a symlink)" >&2 + echo "(not a symlink)" return 1 else - echo "(unset)" >&2 + echo "(unset)" return 1 fi } diff --git a/src/modules/maven.eselect.in b/src/modules/maven.eselect.in index 976e02c..f0cf2e4 100644 --- a/src/modules/maven.eselect.in +++ b/src/modules/maven.eselect.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Manage Maven targets" @@ -67,10 +67,10 @@ do_show() { get_target return 0 elif [[ -e "${MVN}" ]] ; then - echo "(not a symlink)" >&2 + echo "(not a symlink)" return 1 else - echo "(unset)" >&2 + echo "(unset)" return 1 fi } |