use g_mkdir_with_parents() instead of home-baked solution

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2022-03-13 12:02:59 +01:00
parent b8e46552bf
commit 705b6f7806
5 changed files with 15 additions and 45 deletions

View File

@@ -3004,7 +3004,7 @@ command_mangen(void)
cmds = g_list_insert_sorted(cmds, pcmd, (GCompareFunc)_cmp_command);
}
mkdir_recursive("docs");
create_dir("docs");
GDateTime* now = g_date_time_new_now_local();
gchar* date = g_date_time_format(now, "%F");