init: Add new explicit temporary directory
This will be used to store all tempoary files.
This commit is contained in:
parent
2be1407622
commit
eb288bab9d
|
|
@ -72,6 +72,11 @@ ostree_builtin_init (int argc, char **argv, const char *repo_path, GError **erro
|
||||||
goto out;
|
goto out;
|
||||||
g_clear_object (&child);
|
g_clear_object (&child);
|
||||||
|
|
||||||
|
child = g_file_get_child (repodir, "tmp");
|
||||||
|
if (!g_file_make_directory (child, NULL, error))
|
||||||
|
goto out;
|
||||||
|
g_clear_object (&child);
|
||||||
|
|
||||||
child = g_file_get_child (repodir, "refs");
|
child = g_file_get_child (repodir, "refs");
|
||||||
if (!g_file_make_directory (child, NULL, error))
|
if (!g_file_make_directory (child, NULL, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue