25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix compatibility with older mix versions

This commit is contained in:
Paweł Chmielowski 2022-04-08 18:26:07 +02:00
parent 0870f32c59
commit 5744d44e68

View File

@ -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", _} ->