From dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2 Mon Sep 17 00:00:00 2001 From: Gokturk Yuksek Date: Tue, 22 Sep 2015 06:21:08 -0400 Subject: [PATCH] sys-apps/rng-tools: handle if redirecting output to a file fails in ebuild Use '|| die' to handle if redirecting output to a file fails. Package-Manager: portage-2.2.20.1 --- sys-apps/rng-tools/rng-tools-5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-apps/rng-tools/rng-tools-5-r2.ebuild b/sys-apps/rng-tools/rng-tools-5-r2.ebuild index f32feff5300c..61e60b00cd63 100644 --- a/sys-apps/rng-tools/rng-tools-5-r2.ebuild +++ b/sys-apps/rng-tools/rng-tools-5-r2.ebuild @@ -21,7 +21,7 @@ RDEPEND="${DEPEND} selinux? ( sec-policy/selinux-rngd )" src_prepare() { - echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am + echo 'bin_PROGRAMS = randstat' >> contrib/Makefile.am || die epatch "${FILESDIR}"/test-for-argp.patch epatch "${FILESDIR}"/${P}-fix-textrels-on-PIC-x86.patch #469962 epatch "${FILESDIR}"/${P}-man-fill-watermark.patch #555094 -- 2.26.2