[elixir] Fix sed patch (finding proper rebar)

Ricky Elrod codeblock at fedoraproject.org
Tue Jul 16 05:58:59 UTC 2013


commit 12270350a020698098cdd7e492c8a667a0d6cd04
Author: Ricky Elrod <ricky at elrod.me>
Date:   Tue Jul 16 01:58:46 2013 -0400

    Fix sed patch (finding proper rebar)

 elixir.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/elixir.spec b/elixir.spec
index d038c9e..50e2f2f 100644
--- a/elixir.spec
+++ b/elixir.spec
@@ -29,8 +29,8 @@ fault-tolerant, non-stop applications with hot code swapping.
 %prep
 %setup -q
 rm rebar
-sed -i '/REBAR := $(/d' Makefile
-sed -i '1i REBAR := $(shell which rebar || echo `pwd`/rebar)' Makefile
+sed -i '/REBAR := /d' Makefile
+sed -i '1i REBAR := "$(shell which rebar || echo `pwd`/rebar)"' Makefile
 sed -i -e "s/time //g" Makefile
 find -name '*.bat' -exec rm \{\} \;
 


More information about the scm-commits mailing list