commit: 60ae07aea7854d30bb44107733ed34c2846b2663
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 23 18:56:21 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 21:38:02 2017 +0000
URL: https://gitweb.gentoo.org/proj/eselect-java.git/commit/?id=60ae07ae
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
}