diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-20 11:05:55 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-20 11:05:55 +0000 |
commit | d20eba0167c8bd0de9aa0729419f89c0bdae459c (patch) | |
tree | 96e9351148be13b02de068a238d5065a61c4012f /eclass/java-pkg.eclass | |
parent | Added to ~ppc (diff) | |
download | historical-d20eba0167c8bd0de9aa0729419f89c0bdae459c.tar.gz historical-d20eba0167c8bd0de9aa0729419f89c0bdae459c.tar.bz2 historical-d20eba0167c8bd0de9aa0729419f89c0bdae459c.zip |
die happy
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r-- | eclass/java-pkg.eclass | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass index 1b63ca797257..971bfbf075cb 100644 --- a/eclass/java-pkg.eclass +++ b/eclass/java-pkg.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.26 2005/07/11 15:08:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.27 2005/07/20 11:05:55 axxo Exp $ pkglistpath="${T}/java-pkg-list" @@ -276,23 +276,23 @@ java-pkg_jar-from() destjar=${jar} fi - for x in `java-config --classpath=${pkg} | tr ':' ' '`; do + for x in $(java-config --classpath=${pkg} | tr ':' ' '); do if [ ! -f ${x} ] ; then - eerror "Installation problems with jars in ${pkg} - is it installed?" + die "Installation problems with jars in ${pkg} - is it installed?" return 1 fi _record-jar ${pkg} ${x} if [ -z "${jar}" ] ; then ln -sf ${x} $(basename ${x}) - elif [ "`basename ${x}`" == "${jar}" ] ; then + elif [ "$(basename ${x})" == "${jar}" ] ; then ln -sf ${x} ${destjar} return 0 fi done if [ -z "${jar}" ] ; then - return 0 + return 0 else - return 1 + die "failed too find ${destjar}" fi } |