Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 407848 Details for
Bug 172594
java-util-2.eclass: java-pkg_get-javac can't be called alone
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to call java-pkg_init-compiler_ and die on errors rather than using stdout
java-utils-2-eclass--java-pkg_get-javac--init-and-die.patch (text/plain), 1009 bytes, created by
Sebastian Pipping
on 2015-07-29 00:37:04 UTC
(
hide
)
Description:
Patch to call java-pkg_init-compiler_ and die on errors rather than using stdout
Filename:
MIME Type:
Creator:
Sebastian Pipping
Created:
2015-07-29 00:37:04 UTC
Size:
1009 bytes
patch
obsolete
>--- /usr/portage/eclass/java-utils-2.eclass_BEFORE 2015-07-29 02:21:34.044401503 +0200 >+++ /usr/portage/eclass/java-utils-2.eclass 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}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172594
:
407846
| 407848