diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-20 11:14:31 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-20 11:14:31 +0000 |
commit | ffb8775d230f3fc8731b892bb06971d1b308047c (patch) | |
tree | ded1b863806ddece6b9c6970d8bc5c6924d8ec81 /eclass | |
parent | Version bump. Fixes bug #162125. Thanks to caster. Dropping ppc keywords beca... (diff) | |
download | gentoo-2-ffb8775d230f3fc8731b892bb06971d1b308047c.tar.gz gentoo-2-ffb8775d230f3fc8731b892bb06971d1b308047c.tar.bz2 gentoo-2-ffb8775d230f3fc8731b892bb06971d1b308047c.zip |
Improve debug output
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 41b382158969..d638e573c468 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.43 2007/01/15 21:03:24 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.44 2007/01/20 11:14:31 betelgeuse Exp $ # ----------------------------------------------------------------------------- @@ -301,7 +301,8 @@ java-pkg_newjar() { local new_jar_dest="${T}/${new_jar}" [[ -z ${original_jar} ]] && die "Must specify a jar to install" - [[ ! -f ${original_jar} ]] && die "${original_jar} does not exist!" + [[ ! -f ${original_jar} ]] \ + && die "${original_jar} does not exist or is not a file!" rm -f "${new_jar_dest}" || die "Failed to remove ${new_jar_dest}" cp "${original_jar}" "${new_jar_dest}" \ @@ -1415,6 +1416,7 @@ eant() { fi [[ -n ${JAVA_PKG_DEBUG} ]] && echo ant ${antflags} "${@}" + debug-print "Calling ant: ${antflags} ${@}" ant ${antflags} "${@}" || die "eant failed" } |