--- /usr/portage/eclass/java-utils-2.eclass_BEFORE 2015-07-29 02:21:34.044401503 +0200 +++ /usr/portage/eclass/java-utils-2.eclass_BEFORE 2015-07-29 02:32:39.595294383 +0200 @@ -1573,7 +1573,7 @@ java-pkg_get-javac() { debug-print-function ${FUNCNAME} $* - + java-pkg_init-compiler_ local compiler="${GENTOO_COMPILER}" local compiler_executable @@ -1592,18 +1592,15 @@ export JAVAC=${old_javac} if [[ -z ${compiler_executable} ]]; then - echo "JAVAC is empty or undefined in ${compiler_env}" - return 1 + die "JAVAC is empty or undefined in ${compiler_env}" fi # check that it's executable if [[ ! -x ${compiler_executable} ]]; then - echo "${compiler_executable} doesn't exist, or isn't executable" - return 1 + die "${compiler_executable} doesn't exist, or isn't executable" fi else - echo "Could not find environment file for ${compiler}" - return 1 + die "Could not find environment file for ${compiler}" fi fi echo ${compiler_executable}