From 60ae07aea7854d30bb44107733ed34c2846b2663 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 23 Dec 2017 18:56:21 +0000 Subject: Don't emit (unset) or (not a symlink) on stderr (bug #549498) --- NEWS | 4 ++++ src/modules/ecj.eselect.in | 6 +++--- src/modules/maven.eselect.in | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index cb1a799..669548f 100644 --- a/NEWS +++ b/NEWS @@ -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 } -- cgit v1.2.3-65-gdbad