summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-17 10:01:06 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-17 10:01:06 -0500
commit2e5b6fe559a3f26e1fb2a1847e730c76db3bf518 (patch)
tree7bbcf830c09d8328d925b0473ece6fdb3ccfb728 /src
parent5999ef1c962c5018b74dac5fdc8c79e7cc390374 (diff)
remove use of lists:droplast, it doesn't exist pre-17
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 792d358..f245eb5 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -549,7 +549,7 @@ warn_and_find_path(File, Dir) ->
true ->
[SrcHeader];
false ->
- IncludeDir = filename:join(filename:join(lists:droplast(filename:split(Dir))), "include"),
+ IncludeDir = filename:join(filename:join(rebar_utils:droplast(filename:split(Dir))), "include"),
IncludeHeader = filename:join(IncludeDir, File),
case filelib:is_regular(IncludeHeader) of
true ->