diff options
author | Siri Hansen <[email protected]> | 2012-02-16 14:58:57 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-03-19 09:48:54 +0100 |
commit | a5240467ac0b5428063360fc4a3d67ab9ffa1413 (patch) | |
tree | 38acda36f4e798399b5ce6223de7cbd48798b9ea /lib/reltool/src/reltool_mod_win.erl | |
parent | 0bc47607cad0c9ad475a7c0a8e7aa5633d00ceb5 (diff) | |
download | otp-a5240467ac0b5428063360fc4a3d67ab9ffa1413.tar.gz otp-a5240467ac0b5428063360fc4a3d67ab9ffa1413.tar.bz2 otp-a5240467ac0b5428063360fc4a3d67ab9ffa1413.zip |
[reltool] Link together escript with inlined application
OTP-9968
Make sure that inlined applications in an escript is included/excluded
as the escript itself, and forbid explicit configuration of the
inlined application.
Diffstat (limited to 'lib/reltool/src/reltool_mod_win.erl')
-rw-r--r-- | lib/reltool/src/reltool_mod_win.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/reltool/src/reltool_mod_win.erl b/lib/reltool/src/reltool_mod_win.erl index e1c2fa5100..8cf175547b 100644 --- a/lib/reltool/src/reltool_mod_win.erl +++ b/lib/reltool/src/reltool_mod_win.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2009-2011. All Rights Reserved. +%% Copyright Ericsson AB 2009-2012. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -314,8 +314,8 @@ do_create_code_page(#state{xref_pid = Xref, mod = M} = S, PageName) -> {ok, App} = reltool_server:get_app(Xref, M#mod.app_name), ErlBin = case App#app.is_escript of - true -> find_escript_bin(App, M); - false -> find_regular_bin(App, M) + false -> find_regular_bin(App, M); + _ -> find_escript_bin(App, M) end, load_code(Editor, ErlBin), |