diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-04-24 21:11:41 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-04-24 21:11:41 +0000 |
commit | e3ee8af115403e9543c690880d60bdb326c02f57 (patch) | |
tree | a47dafa8cea8f15f382f7b853370bfaf55b000d6 /eclass/java-utils-2.eclass | |
parent | Update patchset, this should also fix bug #175254 (diff) | |
download | gentoo-2-e3ee8af115403e9543c690880d60bdb326c02f57.tar.gz gentoo-2-e3ee8af115403e9543c690880d60bdb326c02f57.tar.bz2 gentoo-2-e3ee8af115403e9543c690880d60bdb326c02f57.zip |
Fix automatic build-only in src_test that I broke with previously.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 46a44461cfa9..01615826e264 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.77 2007/04/24 10:26:33 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.78 2007/04/24 21:11:41 caster Exp $ # ----------------------------------------------------------------------------- @@ -847,7 +847,7 @@ java-pkg_jar-from() { local destdir="." local deep="" - [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" + [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build" while [[ "${1}" == --* ]]; do if [[ "${1}" = "--build-only" ]]; then @@ -884,7 +884,7 @@ java-pkg_jar-from() { # packages. This affects recording of dependencencies because that syntax uses : # if we don't change them to : gjl and java-config -d -p break if [[ ${target_pkg} = *,* ]]; then - build_only="true" + build_only="build" java-pkg_record-jar_ ${target_pkg//,/:} fi @@ -959,7 +959,7 @@ java-pkg_getjars() { local build_only="" local deep="" - [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" + [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build" while [[ "${1}" == --* ]]; do if [[ "${1}" = "--build-only" ]]; then @@ -1027,7 +1027,7 @@ java-pkg_getjar() { local build_only="" - [[ "${EBUILD_PHASE}" == "test" ]] && build_only="true" + [[ "${EBUILD_PHASE}" == "test" ]] && build_only="build" while [[ "${1}" == --* ]]; do if [[ "${1}" = "--build-only" ]]; then |