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
commit5a507c00de498bb02ffb9290f09eb1d6ced954d8 (patch)
treed28e102e4e49df74fa6930d71d2fb2bf1aa71bcb
parentHandle bounded arithmetic in jpl test suite. (diff)
downloadgentoo-2-5a507c00de498bb02ffb9290f09eb1d6ced954d8.tar.gz
gentoo-2-5a507c00de498bb02ffb9290f09eb1d6ced954d8.tar.bz2
gentoo-2-5a507c00de498bb02ffb9290f09eb1d6ced954d8.zip
Make the ebuild a little bit more fault tolerant when version bumping it.
(Portage version: 2.1.2-r12)
-rw-r--r--dev-java/javacup/ChangeLog6
-rw-r--r--dev-java/javacup/javacup-0.10k-r1.ebuild8
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-java/javacup/ChangeLog b/dev-java/javacup/ChangeLog
index 9f2b65d1e073..ba2994eb44b2 100644
--- a/dev-java/javacup/ChangeLog
+++ b/dev-java/javacup/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/javacup
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/ChangeLog,v 1.18 2007/02/20 23:38:29 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/ChangeLog,v 1.19 2007/02/28 08:18:50 betelgeuse Exp $
+
+ 28 Feb 2007; Petteri Räty <betelgeuse@gentoo.org>
+ javacup-0.10k-r1.ebuild:
+ Make the ebuild a little bit more fault tolerant when version bumping it.
20 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
javacup-0.10k-r1.ebuild:
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
}