summaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-07-11 16:09:46 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-07-11 16:09:46 +0300
commit05187d497da1844005eaf96fbcab65840a578bb1 (patch)
treef8f43560ef70f74db12fa63c5adccd3f57dd56fe /mix.exs
parentaedbbec88aa0a9a38e588eabfbecb8058652002b (diff)
One can not simply call application modules from mix.exs
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 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