Skip to content

Commit

Permalink
2.10 prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Oct 21, 2018
1 parent 8bff94e commit 91d5552
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/sh.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, sh,
[{description, "SH External Shell Port"},
{vsn, "2.3"},
[{description, "SH Exec"},
{vsn, "2.10"},
{registered, []},
{applications, [kernel,stdlib]},
{mod, { sh_app, []}},
Expand Down
3 changes: 2 additions & 1 deletion src/sh.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-module(sh).
-compile(export_all).
-export([ fdlink_executable/0, executable/1, oneliner/1, oneliner/2,
run/1, run/2, run/3, run/4, run/5 ]). % fold this

fdlink_executable() -> filename:absname(filename:join(code:priv_dir(sh), "fdlink")).
oneliner(C) -> run(C, ignoreeol, ".").
Expand Down
4 changes: 1 addition & 3 deletions src/sh_sup.erl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
-module(sh_sup).
-behaviour(supervisor).
-export([start_link/0]).
-export([init/1]).
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).
-export([start_link/0, init/1]).

start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []).
init([]) -> {ok, { {one_for_one, 5, 10}, []} }.
Expand Down

0 comments on commit 91d5552

Please sign in to comment.