summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 9d419d1..f6a2b78 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -167,7 +167,7 @@ init_config() ->
%% resources out of the escript
State1 = try
ScriptName = filename:absname(escript:script_name()),
- rebar_state:set(State, escript, ScriptName)
+ rebar_state:escript_path(State, ScriptName)
catch
_:_ ->
State