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:
parent
0870f32c59
commit
5744d44e68
2
mix.exs
2
mix.exs
@ -185,7 +185,7 @@ defmodule Ejabberd.MixProject do
|
|||||||
end
|
end
|
||||||
|
|
||||||
defp elixir_required_version do
|
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")}
|
MapSet.member?(MapSet.new(System.argv()), "release")}
|
||||||
do
|
do
|
||||||
{"true", _} ->
|
{"true", _} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user