From 1f6d861ababc5bead8cf75e0d0ee63f33798f42a Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Tue, 16 Feb 2010 07:05:29 -0700 Subject: Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. --- include/rebar.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 4d591c9..d5eaff5 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -5,7 +5,7 @@ -define(FAIL, throw({error, failed})). --define(ABORT(Str, Args), ?ERROR(Str, Args), init:stop(1)). +-define(ABORT(Str, Args), rebar_utils:abort(Str, Args)). -define(CONSOLE(Str, Args), io:format(Str, Args)). -- cgit v1.1