On Sun, 2009-01-18 at 11:00 +0100, Mikael Magnusson wrote:
> From: Mikael Magnusson <[email protected]>
>
> Signed-off-by: Mikael Magnusson <[email protected]>
> ---
> server/sinan/src/sin_shell.erl | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/server/sinan/src/sin_shell.erl b/server/sinan/src/sin_shell.erl
> index b2b24ab..62739fc 100644
> --- a/server/sinan/src/sin_shell.erl
> +++ b/server/sinan/src/sin_shell.erl
> @@ -116,6 +116,9 @@ send_paths(BuildRef, RepoDir, [{AppName, Vsn, _} | T]) ->
> send_paths(BuildRef, RepoDir, [{AppName, Vsn} | T]) ->
> send_path(BuildRef, RepoDir, AppName, Vsn),
> send_paths(BuildRef, RepoDir, T);
> +send_paths(BuildRef, RepoDir, [{AppName, Vsn, _NDeps, _AppPath} | T]) ->
> + send_path(BuildRef, RepoDir, AppName, Vsn),
> + send_paths(BuildRef, RepoDir, T);
> send_paths(_, _, []) ->
> ok.
>
I forgot to mention that "sinan shell" crashes without this patch.
=INFO REPORT==== 22-Jan-2009::21:49:24 ===
[RUN:"1771b9f2-804f-48ea-aa7a-982435b2288e"] Task sin_shell
faulted:function_clause: [{sin_shell,send_paths,
["1771b9f2-804f-48ea-aa7a-982435b2288e",
"/tmp/sinan2/_build/development/apps",
[{etask,"0.5.0",
[kernel,stdlib,sasl,eunit],
"/tmp/sinan2/_build/development/apps/etask-0.5.0"},
{sinan,"0.11.0.0",
[kernel,stdlib,compiler,edoc,sasl,syntax_tools,
ibrowse,ktuo,ewrepo,ewlib,tools,dialyzer,xmerl,
mnesia,etask,sgte,parsetools,asn1,eunit],
"/tmp/sinan2/_build/development/apps/sinan-0.11.0.0"},
{sinan_web_api,"0.1.0.4",
[kernel,stdlib,sinan,crary,uri,eunit],
"/tmp/sinan2/_build/development/apps/sinan_web_api-0.1.0.4"}]]},
{sin_shell,make_shell,4},
{sin_shell,shell,1},
{eta_task_runner,execute_task_stack,3},
{eta_task_runner,run_tasks,3},
{eta_task_runner,do_tasks,3},
mnesia,etask,sgte,parsetools,asn1,eunit],
"/tmp/sinan2/_build/development/apps/sinan-0.11.0.0"},
{sinan_web_api,"0.1.0.4",
[kernel,stdlib,sinan,crary,uri,eunit],
"/tmp/sinan2/_build/development/apps/sinan_web_api-0.1.0.4"}]]},
{sin_shell,make_shell,4},
{sin_shell,shell,1},
{eta_task_runner,execute_task_stack,3},
{eta_task_runner,run_tasks,3},
{eta_task_runner,do_tasks,3},
{eta_task_runner,'-run_task_reply/4-fun-0-',4},
{proc_lib,init_p,3}]
/Mikael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"erlware-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/erlware-dev?hl=en
-~----------~----~----~----~------~----~------~--~---