diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-12-18 00:23:06 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-12-18 00:23:06 +0000 |
commit | e90c3fdd0d436536c658a79dec64ffa7b1c4e856 (patch) | |
tree | 34a29577f7fa099e766260c1e6a1d59730596c09 /eclass | |
parent | 1.56 tested and working on MIPS. Marked stable. Quoting fixed in all versions. (diff) | |
download | historical-e90c3fdd0d436536c658a79dec64ffa7b1c4e856.tar.gz historical-e90c3fdd0d436536c658a79dec64ffa7b1c4e856.tar.bz2 historical-e90c3fdd0d436536c658a79dec64ffa7b1c4e856.zip |
java-ant_bsfix_files was returning 1 when JAVA_PKG_DEBUG is on.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-ant-2.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/java-ant-2.eclass b/eclass/java-ant-2.eclass index 84a06bc2beb1..a6e97f777117 100644 --- a/eclass/java-ant-2.eclass +++ b/eclass/java-ant-2.eclass @@ -14,7 +14,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.23 2007/08/05 08:17:05 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-ant-2.eclass,v 1.24 2007/12/18 00:23:06 betelgeuse Exp $ inherit java-utils-2 @@ -339,6 +339,7 @@ java-ant_bsfix_files() { done fi fi + return 0 # so that the 1 for diff doesn't get reported } @@ -372,6 +373,7 @@ java-ant_rewrite-classpath() { local file="${1}" [[ -z "${1}" ]] && file=build.xml + [[ ${#} -gt 1 ]] && die "${FUNCNAME} currently can only rewrite one file." echo "Adding gentoo.classpath to ${file}" debug-print "java-ant_rewrite-classpath: ${file}" |