summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-09 12:30:00 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-09 12:30:00 +0000
commit30ba9c13dad9a75e01bab346744fc78029ffbc1b (patch)
tree1d6308e9c41de86bfee24333091f3fd2f09401ff /eclass/java-pkg.eclass
parent!macos? ( gpm? ( sys-libs/gpm ) ) (diff)
downloadhistorical-30ba9c13dad9a75e01bab346744fc78029ffbc1b.tar.gz
historical-30ba9c13dad9a75e01bab346744fc78029ffbc1b.tar.bz2
historical-30ba9c13dad9a75e01bab346744fc78029ffbc1b.zip
Die when the jar can't be found
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r--eclass/java-pkg.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 676dce5ec1f4..0c362ef174a5 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.10 2004/07/31 15:18:50 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.11 2004/09/09 12:30:00 axxo Exp $
inherit base
ECLASS=java-pkg
@@ -162,7 +162,7 @@ java-pkg_dojar()
mysrc=$(java-pkg_do_getsrc_)
# Install files
- install -m 0644 "${mysrc}" "${D}${jardest}"
+ install -m 0644 "${mysrc}" "${D}${jardest}" || die "${mysrc} not found"
# Build CLASSPATH
if [ -z "${cp_pkg}" ] ; then