Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-04-08 19:26:07 +0300
committerPaweł Chmielowski <pawel@process-one.net>2022-04-08 19:26:07 +0300
commit5744d44e68a0b5da76cb8b8afe5177d6cbdb4b54 (patch)
tree5d23525388f41271df11c3dd0aae2181201f0c9b /mix.exs
parent0870f32c5939cb17a7c955244161515989b18402 (diff)
Fix compatibility with older mix versions
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 4d1c451dc..461ae29c9 100644
--- a/mix.exs
+++ b/mix.exs
@@ -185,7 +185,7 @@ defmodule Ejabberd.MixProject do
end
defp elixir_required_version do
- case {System.get_env("RELIVE", "false"),
+ case {Map.get(System.get_env(), "RELIVE", "false"),
MapSet.member?(MapSet.new(System.argv()), "release")}
do
{"true", _} ->