From: Roman Chvanikov Date: Sat, 11 Jul 2020 13:09:46 +0000 (+0300) Subject: One can not simply call application modules from mix.exs X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=05187d497da1844005eaf96fbcab65840a578bb1;p=akkoma One can not simply call application modules from mix.exs --- diff --git a/mix.exs b/mix.exs index 5cd06e8fd..a775e54a4 100644 --- a/mix.exs +++ b/mix.exs @@ -234,7 +234,7 @@ defmodule Pleroma.Mixfile do defp version(version) do identifier_filter = ~r/[^0-9a-z\-]+/i - git_available? = Pleroma.Utils.command_available?("git") + git_available? = match?({_output, 0}, System.cmd("sh", ["-c", "command -v git"])) git_pre_release = if git_available? do