diff options
author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-01-15 14:23:59 +1300 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-01-15 14:23:59 +1300 |
commit | 6727fa1875d711c41abaa68b27663db4a2b59ce5 (patch) | |
tree | 64b83f5b13f3411a45c4929c22e047f4fce9df43 /generate_app | |
parent | 28333003d191d6a487f31704004fe671a9cf1813 (diff) | |
download | rabbitmq-server-6727fa1875d711c41abaa68b27663db4a2b59ce5.tar.gz |
Use io:read('') instead of io:read("") to avoid a "prompt" of "[]" ending upbug20155
in the output.
Diffstat (limited to 'generate_app')
-rw-r--r-- | generate_app | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_app b/generate_app index bb6f7516..62301292 100644 --- a/generate_app +++ b/generate_app @@ -4,7 +4,7 @@ main([BeamDir]) -> Modules = [list_to_atom(filename:basename(F, ".beam")) || F <- filelib:wildcard("*.beam", BeamDir)], - {ok, {application, Application, Properties}} = io:read(""), + {ok, {application, Application, Properties}} = io:read(''), NewProperties = lists:keyreplace(modules, 1, Properties, {modules, Modules}), io:format("~p.", [{application, Application, NewProperties}]). |