diff --git a/util/generate_man.js b/util/generate_man.js index 1db89645c..978c19eff 100755 --- a/util/generate_man.js +++ b/util/generate_man.js @@ -171,7 +171,7 @@ const processDovecotMdPre = () => { const main = async (component, outPath) => { /* Create output directory, if it doesn't exist. */ if (!fs.existsSync(outPath)) { - await fs.promises.mkdir(outPath) + await fs.promises.mkdir(outPath, { recursive: true }) } /* Generate list of man files. */