diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-01-23 14:43:02 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2019-01-23 14:43:02 -0500 |
commit | f52a115ea9d66c812f68200383d769ac300a2828 (patch) | |
tree | a21a1548ae5bbf2e260e44e927044624eadcd2cd | |
parent | 1542fbfc8214e5cf888f62fcccce558660e32f83 (diff) |
Avoid linebreak on command line
-rw-r--r-- | src/rebar_git_resource.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_git_resource.erl b/src/rebar_git_resource.erl index 7657699..c5031df 100644 --- a/src/rebar_git_resource.erl +++ b/src/rebar_git_resource.erl @@ -36,8 +36,8 @@ lock_(AppDir, {git, Url}) -> {ok, VsnString} = case os:type() of {win32, _} -> - rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' - --work-tree='" ++ Dir ++ "' rev-parse --verify HEAD", + rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' " + "--work-tree='" ++ Dir ++ "' rev-parse --verify HEAD", [{use_stdout, false}, {debug_abort_on_error, AbortMsg}]); _ -> rebar_utils:sh("git --git-dir='" ++ Dir ++ "/.git' rev-parse --verify HEAD", |