diff options
author | Gokturk Yuksek <gokturk@binghamton.edu> | 2015-09-22 06:21:08 -0400 |
---|---|---|
committer | Gokturk Yuksek <gokturk@binghamton.edu> | 2015-10-01 04:09:43 -0400 |
commit | dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2 (patch) | |
tree | ed3c879e2ad849116b0b2b3771bce5384993d078 /sys-apps | |
parent | sys-apps/rng-tools: do not specify rng device in init script #481254 (diff) | |
download | gentoo-dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2.tar.gz gentoo-dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2.tar.bz2 gentoo-dc75c9d60d5ed9e19693d7608f47d079ce5cf4b2.zip |
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
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/rng-tools/rng-tools-5-r2.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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 |