diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-03-23 17:27:02 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-03-23 17:27:02 +0300 |
commit | 4cd34d019764fdd68829ebd4282118abc4534133 (patch) | |
tree | 9247dfe99e3ef5a21da23c2a568f2921ccaed33e /lib/mix/tasks | |
parent | 03843a53868860c0b6b2bebcf262bde746482f7e (diff) | |
download | pleroma-4cd34d019764fdd68829ebd4282118abc4534133.tar.gz pleroma-4cd34d019764fdd68829ebd4282118abc4534133.zip |
suggestion
Diffstat (limited to 'lib/mix/tasks')
-rw-r--r-- | lib/mix/tasks/pleroma/config.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index ac89702ae..22502a522 100644 --- a/lib/mix/tasks/pleroma/config.ex +++ b/lib/mix/tasks/pleroma/config.ex @@ -282,7 +282,7 @@ defmodule Mix.Tasks.Pleroma.Config do else _ -> shell_error("Impossible to save settings to this directory #{Path.dirname(config_path)}") - tmp_config_path = Path.join("/tmp", filename) + tmp_config_path = Path.join(System.tmp_dir!(), filename) file = File.open!(tmp_config_path) shell_info( |