summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-02-28 08:18:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-02-28 08:18:50 +0000
commitc91469ee686969fe2e1a7a7f81447587d1eefbf0 (patch)
tree1c00a5e542a381c94639034023c2da0bb3e07ed8 /dev-java/javacup/javacup-0.10k-r1.ebuild
parentHandle bounded arithmetic in jpl test suite. (diff)
downloadhistorical-c91469ee686969fe2e1a7a7f81447587d1eefbf0.tar.gz
historical-c91469ee686969fe2e1a7a7f81447587d1eefbf0.tar.bz2
historical-c91469ee686969fe2e1a7a7f81447587d1eefbf0.zip
Make the ebuild a little bit more fault tolerant when version bumping it.
Package-Manager: portage-2.1.2-r12
Diffstat (limited to 'dev-java/javacup/javacup-0.10k-r1.ebuild')
-rw-r--r--dev-java/javacup/javacup-0.10k-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-java/javacup/javacup-0.10k-r1.ebuild b/dev-java/javacup/javacup-0.10k-r1.ebuild
index 11a259bd05c1..a57ea2a23eeb 100644
--- a/dev-java/javacup/javacup-0.10k-r1.ebuild
+++ b/dev-java/javacup/javacup-0.10k-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/javacup-0.10k-r1.ebuild,v 1.7 2007/02/20 23:38:29 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/javacup-0.10k-r1.ebuild,v 1.8 2007/02/28 08:18:50 betelgeuse Exp $
inherit java-pkg-2
@@ -20,7 +20,7 @@ S=${WORKDIR}
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
find . -name "*.class" -exec rm -f {} \;
}
@@ -31,7 +31,7 @@ src_compile() {
src_install() {
java-pkg_dojar ${PN}.jar
- dodoc CHANGELOG README
- dohtml manual.html
+ dodoc CHANGELOG README || die
+ dohtml manual.html || die
use source && java-pkg_dosrc java_cup
}