summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-02-16 07:05:29 -0700
committerDave Smith <dizzyd@dizzyd.com>2010-02-16 07:05:29 -0700
commit1f6d861ababc5bead8cf75e0d0ee63f33798f42a (patch)
treefa1da08058bf141171c37b1a9559b759e527aa63 /include
parent51133313a6eb44171a0eb4e3a087febf06bd8622 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/rebar.hrl2
1 files changed, 1 insertions, 1 deletions
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)).