aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/runtime_tools/src/system_information.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/runtime_tools/src/system_information.erl b/lib/runtime_tools/src/system_information.erl
index 5c6516f72f..b0f03126b9 100644
--- a/lib/runtime_tools/src/system_information.erl
+++ b/lib/runtime_tools/src/system_information.erl
@@ -472,4 +472,8 @@ get_beam_name() ->
false -> "";
true -> ".smp"
end,
- os:getenv("EMU") ++ Type ++ Flavor.
+ Beam = case os:getenv("EMU") of
+ false -> "beam";
+ Value -> Value
+ end,
+ Beam ++ Type ++ Flavor.