diff options
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index e76f04e..f9ce8ae 100644 --- a/rebar.config +++ b/rebar.config @@ -14,9 +14,11 @@ {post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", escriptize, - "cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3"}, + "cp \"$REBAR_BUILD_DIR/bin/rebar3\" ./rebar3"}, {"win32", - "robocopy $REBAR_BUILD_DIR/bin/ ./ rebar3*"} + escriptize, + "robocopy \"%REBAR_BUILD_DIR%/bin/\" ./ rebar3* " + "/njs /njh /nfl /ndl & exit /b 0"} % silence things ]}. {escript_name, rebar3}. |