commit a14cc636380d8f49b044e703d1471c9538868ab8
Author: Ricky Elrod <[email protected]>
Date:   Sun Jan 19 14:38:10 2014 -0500

    symlink instead of hardcoding rebar path

 elixir.spec |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/elixir.spec b/elixir.spec
index e4d323e..1b0c650 100644
--- a/elixir.spec
+++ b/elixir.spec
@@ -24,8 +24,7 @@ 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
+ln -s "$(which rebar)" .
 sed -i -e "s/time //g" Makefile
 find -name '*.bat' -exec rm \{\} \;
 
_______________________________________________
erlang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/erlang

Reply via email to