summaryrefslogtreecommitdiff
path: root/eclass
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
commit7f39524347a1b3be1a20d212d155a85e27146460 (patch)
treee14f8adf5cd25541afb5d678b4d9a246f7ab5ae1 /eclass
parent!macos? ( gpm? ( sys-libs/gpm ) ) (Manifest recommit) (diff)
downloadgentoo-2-7f39524347a1b3be1a20d212d155a85e27146460.tar.gz
gentoo-2-7f39524347a1b3be1a20d212d155a85e27146460.tar.bz2
gentoo-2-7f39524347a1b3be1a20d212d155a85e27146460.zip
Die when the jar can't be found
Diffstat (limited to '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