summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-22 21:51:11 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-22 21:54:14 -0500
commite5988f69e0fc577f9c759f0907bd8b6840851035 (patch)
treee9dd6e803dde1d5c1560a56adb8674e66a51149d /src
parent16e9b3ffa2ddd81e26238530fd1e25a54a42b7dc (diff)
R15 support, replace unsetenv with putenv empty string
Diffstat (limited to 'src')
-rw-r--r--src/rebar3.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index fbbda51..b0cc949 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -115,6 +115,8 @@ run_aux(State, RawArgs) ->
State2 = case os:getenv("REBAR_PROFILE") of
false ->
State;
+ "" ->
+ State;
Profile ->
rebar_state:apply_profiles(State, [list_to_atom(Profile)])
end,