From a14cc636380d8f49b044e703d1471c9538868ab8 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Jan 19 2014 19:38:15 +0000 Subject: symlink instead of hardcoding rebar path --- 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 \{\} \;