Update using common functions

This commit is contained in:
Aoran Zeng
2023-09-29 22:15:58 +08:00
parent 20c288d745
commit 3e7f30ef8f
2 changed files with 12 additions and 22 deletions

View File

@@ -294,6 +294,7 @@ chsrc_check_file (const char* path)
static void
chsrc_ensure_dir (const char* dir)
{
dir = xy_uniform_path (dir);
char* mkdir_cmd = NULL;
if (xy_on_windows) {
mkdir_cmd = "md ";