Skip to content

Commit

Permalink
deploy: added support for whitespace in directory names
Browse files Browse the repository at this point in the history
  • Loading branch information
lwehmeier authored and eproxus committed Jun 5, 2018
1 parent 04b8c80 commit ae7ee9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rebar3_grisp_deploy.erl
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ load_file(Source, _Context) ->

copy_release(State, Name, _Version, Dest, Force) ->
console("* Copying release..."),
Source = filename:join([rebar_dir:base_dir(State), "rel", Name]),
Target = filename:join(Dest, Name),
Source = "\"" ++ filename:join([rebar_dir:base_dir(State), "rel", Name]) ++ "\"",
Target = "\"" ++ filename:join(Dest, Name) ++ "\"",
Command = case Force of
true -> "cp -Rf";
false -> "cp -R"
Expand Down

0 comments on commit ae7ee9e

Please sign in to comment.