From: Gokturk Yuksek Date: Tue, 22 Sep 2015 10:21:08 +0000 (-0400) Subject: sys-apps/rng-tools: handle if redirecting output to a file fails in ebuild X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2;p=gentoo.git 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 --- 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