-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Description
Looks like the generated script cannot handle paths that include a space in them.
➜ Spaced Dir pwd
/tmp/Spaced Dir
➜ Spaced Dir rebar3 new app foo && cd foo
===> Writing foo/src/foo_app.erl
===> Writing foo/src/foo_sup.erl
===> Writing foo/src/foo.app.src
===> Writing foo/rebar.config
===> Writing foo/.gitignore
===> Writing foo/LICENSE
===> Writing foo/README.md
➜ foo cat rebar.config
{erl_opts, [debug_info]}.
{deps, []}.
{shell, [
% {config, "config/sys.config"},
{apps, [foo]}
]}.
{relx, [{release, { foo, "0.1.0" }, [foo, sasl]},
{extended_start_script, true}
}.
➜ foo rebar3 release
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling foo
===> Assembling release foo-0.1.0...
===> Warnings generating release:
*WARNING* stdlib: Object code (filename) out of date
===> Release successfully assembled: _build/default/rel/foo
➜ foo _build/default/rel/foo/bin/foo status
sh: line 0: test: /private/tmp/Spaced: binary operator expected
Node is not running!
➜ foo rebar3 --version
rebar 3.18.0 on Erlang/OTP 22 Erts 10.7.2.16
Metadata
Metadata
Assignees
Labels
No labels