commit:     cc5ea48268fd663c28e790313dfe27c7e509358c
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  4 13:38:20 2014 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Wed Jun  4 13:38:20 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=commit;h=cc5ea482

consul die on sed error

---
 app-admin/consul/consul-0.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/consul/consul-0.2.1.ebuild 
b/app-admin/consul/consul-0.2.1.ebuild
index 8abb3f8..e4ac91c 100644
--- a/app-admin/consul/consul-0.2.1.ebuild
+++ b/app-admin/consul/consul-0.2.1.ebuild
@@ -36,7 +36,7 @@ pkg_setup() {
 
 src_prepare() {
        # see : https://github.com/hashicorp/consul/pull/188
-       sed -e 's/format:/format: deps/g' -i Makefile
+       sed -e 's/format:/format: deps/g' -i Makefile || die
 }
 
 src_compile() {

Reply via email to