summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-18 14:17:10 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-18 14:17:10 +0000
commit4622579e4ce0873e5b58b93212cae20b5aa6f7cb (patch)
treed5e4ec10ac9fbe31d46d1e4bb3731974ab7b5268 /eclass
parentmore upstream patches (diff)
downloadhistorical-4622579e4ce0873e5b58b93212cae20b5aa6f7cb.tar.gz
historical-4622579e4ce0873e5b58b93212cae20b5aa6f7cb.tar.bz2
historical-4622579e4ce0873e5b58b93212cae20b5aa6f7cb.zip
Added a temporary fix for a bug in ejavac
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 37fa70942c7f..428aed81dee2 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -278,7 +278,7 @@ java-pkg_newjar() {
local new_jar_dest="${T}/${new_jar}"
[[ -z ${original_jar} ]] && die "Must specify a jar to install"
- [[ ! -f ${original_jar} ]] && die "${new_jar} does not exist!"
+ [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist!"
rm -f "${new_jar_dest}" || die "Failed to remove ${new_jar_dest}"
cp "${original_jar}" "${new_jar_dest}" \
@@ -1233,7 +1233,9 @@ eant() {
ejavac() {
debug-print-function ${FUNCNAME} $*
- local compiler_executable=$(java-pkg_get-javac)
+ # FIXME using get-javac ends up printing stuff with einfo
+# local compiler_executable=$(java-pkg_get-javac)
+ local compiler_executable="javac"
[[ -n ${JAVA_PKG_DEBUG} ]] && echo ${compiler_executable} $(java-pkg_javac-args) "${@}"
${compiler_executable} $(java-pkg_javac-args) "${@}" || die "ejavac failed"