summaryrefslogtreecommitdiff
path: root/src/rebar_file_utils.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2016-11-20 21:41:01 -0500
committerGitHub <noreply@github.com>2016-11-20 21:41:01 -0500
commit17e2356038fdc48eab830cf2719ef8e2e3e1748e (patch)
tree4a76f103fdad3a96cd1a97f6f43fccad4d1ad516 /src/rebar_file_utils.erl
parent8c4da25be01969d2392ed8229cccfda42316c306 (diff)
parente08145b498a59c1c0c100323646471ea1aa37c41 (diff)
Merge pull request #1380 from ferd/fix-self-edoc
Allow rebar3 to edoc itself
Diffstat (limited to 'src/rebar_file_utils.erl')
-rw-r--r--src/rebar_file_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index 6721b5a..f2467c5 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -237,10 +237,10 @@ write_file_if_contents_differ(Filename, Bytes) ->
%% returns an os appropriate tmpdir given a path
-spec system_tmpdir() -> file:filename().
+system_tmpdir() -> system_tmpdir([]).
+
-spec system_tmpdir(PathComponents) -> file:filename() when
PathComponents :: [file:name()].
-
-system_tmpdir() -> system_tmpdir([]).
system_tmpdir(PathComponents) ->
Tmp = case erlang:system_info(system_architecture) of
"win32" ->