diff options
author | Viacheslav Kovalev <kovyl2404@gmail.com> | 2015-06-03 13:08:46 +0300 |
---|---|---|
committer | Daniel Widgren <daniel.widgren@gmail.com> | 2015-06-26 09:20:28 +0200 |
commit | f7bd6ca8ac7a125fbaf21100e6a7fd4e6511fd0c (patch) | |
tree | 9c1e69ad4f540f36bdadb9736743eb1723a7a286 /src/rebar_git_resource.erl | |
parent | e3d32b10cc074f3f76973ffad7038b8786b9b951 (diff) |
Fix common test run duplication on windows
Diffstat (limited to 'src/rebar_git_resource.erl')
-rw-r--r-- | src/rebar_git_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_git_resource.erl b/src/rebar_git_resource.erl index 2d83579..dfec86a 100644 --- a/src/rebar_git_resource.erl +++ b/src/rebar_git_resource.erl @@ -109,7 +109,7 @@ download(Dir, {git, Url, Rev}, _State) -> rebar_utils:sh(?FMT("git checkout -q ~s", [Rev]), [{cd, Dir}]). make_vsn(Dir) -> - {ok, Cwd} = file:get_cwd(), + Cwd = rebar_dir:get_cwd(), try ok = file:set_cwd(Dir), {Vsn, RawRef, RawCount} = collect_default_refcount(), |