summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-14 16:19:42 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-14 16:19:42 +0000
commitd65fde23fe7d23e12b45f758c3c0704b42132534 (patch)
tree265df60265519a2a18ed3296785e60eab9eefc52 /app-misc/when
parentVersion bump, closing #451220 (diff)
downloadgentoo-2-d65fde23fe7d23e12b45f758c3c0704b42132534.tar.gz
gentoo-2-d65fde23fe7d23e12b45f758c3c0704b42132534.tar.bz2
gentoo-2-d65fde23fe7d23e12b45f758c3c0704b42132534.zip
QA: add missing die statements
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-misc/when')
-rw-r--r--app-misc/when/ChangeLog7
-rw-r--r--app-misc/when/when-1.1.30.ebuild10
2 files changed, 10 insertions, 7 deletions
diff --git a/app-misc/when/ChangeLog b/app-misc/when/ChangeLog
index b7cf8c54150f..aae90606fce7 100644
--- a/app-misc/when/ChangeLog
+++ b/app-misc/when/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/when
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/when/ChangeLog,v 1.62 2012/10/25 09:22:47 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/when/ChangeLog,v 1.63 2013/01/14 16:19:42 pinkbyte Exp $
+
+ 14 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> when-1.1.30.ebuild:
+ QA: add missing die statements
*when-1.1.30 (25 Oct 2012)
diff --git a/app-misc/when/when-1.1.30.ebuild b/app-misc/when/when-1.1.30.ebuild
index 414cbed1176d..145b07c91a74 100644
--- a/app-misc/when/when-1.1.30.ebuild
+++ b/app-misc/when/when-1.1.30.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/when/when-1.1.30.ebuild,v 1.1 2012/10/25 09:22:47 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/when/when-1.1.30.ebuild,v 1.2 2013/01/14 16:19:42 pinkbyte Exp $
EAPI=4
@@ -20,15 +20,15 @@ S="${WORKDIR}"/when_dist
src_prepare() {
# Fix path for tests
- sed -i 's,^ when, ./when,' Makefile
+ sed -i 's,^ when, ./when,' Makefile || die 'sed failed'
}
src_compile() { :; }
src_test() {
# The when command requires these files, or attempts to run setup function.
- mkdir "${HOME}"/.when
- touch "${HOME}"/.when/{calendar,preferences}
+ mkdir "${HOME}"/.when || die 'mkdir failed'
+ touch "${HOME}"/.when/{calendar,preferences} || die 'touch failed'
emake test
}