Skip to content

Strange "vsn" value in Applications loaded pour cb_admin #36

@lc3t35

Description

@lc3t35

As you can see at #35 snapshot, there is a strange value of cb_admin:vsn in Applications loaded, instead of "0.7.1' we have "/bin/sh: 1: 0.7.1: not found" ...

Applications loaded

    {kernel,"ERTS CXC 138 10","2.16.1"}
    {lager,"Erlang logging framework","2.0.3"} 
    {cowboy,"Small, fast, modular HTTP server.","0.9.0"}
    {mimetypes,"mimetypes","1.0"}
    {cb_admin,"Chicago Boss Admin Interface","/bin/sh: 1: 0.7.1: not found"}
    {goldrush,"Erlang event stream processor","0.1.6"}
    {boss,"Chicago Boss web framework, now serving three flavors of Comet", "0.8.11"}
    {crypto,"CRYPTO version 2","2.3"}
    {stdlib,"ERTS CXC 138 10","1.19.1"}
    {cowlib,"Support library for manipulating Web protocols.","0.4.0"}
    {syntax_tools,"Syntax tools","1.6.11"}
    {compiler,"ERTS CXC 138 10","4.9.1"}
    {tinymq,"TinyMQ: a diminutive message queue","0.1.1"}
    {ranch,"Socket acceptor pool for TCP protocols.","0.9.0"}
    {sasl,"SASL CXC 138 11","2.3.1"}

Searching :
cb_admin.app.src : {vsn, "0.7.1"} OK
cb_admin_admin_controller.erl :
{modules_loaded, ModulesLoaded} is set by application:info()
Searching for "loaded" in boss, i went to boss_load.rel :

make_computed_vsn({unknown, Val} ) ->Val;
make_computed_vsn(Cmd ) ->
    VsnString = os:cmd(Cmd),
    string:strip(VsnString, right, $\n).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions