logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: cefdcedc2c51712614a19403aa83a10a889b4f8d
parent 214296ab724829d700e09dc5863e38a8bd2e0565
Author: Michael Forney <mforney@mforney.org>
Date:   Sun, 14 Jun 2020 11:38:22 -0700

Combine mkdir calls

Diffstat:

Msetup.lua3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.lua b/setup.lua @@ -48,8 +48,7 @@ local function gen(gendir) perms={}, fspec={}, } - assert(os.execute('mkdir -p '..gendir)) - assert(os.execute('mkdir -p '..outdir)) + assert(os.execute(('mkdir -p %s %s'):format(gendir, outdir))) io.output(gendir..'/local.ninja.tmp') set('gendir', gendir) if gendir ~= '.' then