diff options
author | Rin Toshaka <rinpatch@sdf.org> | 2018-12-02 20:26:15 +0100 |
---|---|---|
committer | Rin Toshaka <rinpatch@sdf.org> | 2018-12-02 20:26:15 +0100 |
commit | 57c71f846880083d8a78247f433713963c284ab9 (patch) | |
tree | ac9f7a90b354b56925327b869248489c163c2683 /lib/mix/tasks/pleroma/instance.ex | |
parent | d924b6cd3da7ad96c522f9de45eb8f7453e0f53a (diff) | |
download | pleroma-57c71f846880083d8a78247f433713963c284ab9.tar.gz |
Move generate_invite to user.ex
Diffstat (limited to 'lib/mix/tasks/pleroma/instance.ex')
-rw-r--r-- | lib/mix/tasks/pleroma/instance.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex index b3e0f99df..05653c238 100644 --- a/lib/mix/tasks/pleroma/instance.ex +++ b/lib/mix/tasks/pleroma/instance.ex @@ -6,7 +6,7 @@ defmodule Mix.Tasks.Pleroma.Instance do @moduledoc """ Manages Pleroma instance. - ## Generate a new instance. + ## Generate a new instance config. mix pleroma.instance new [OPTION...] @@ -145,6 +145,7 @@ defmodule Mix.Tasks.Pleroma.Instance do end end + defp escape_sh_path(path) do ~S(') <> String.replace(path, ~S('), ~S(\')) <> ~S(') end |