From a5d267a911500bdd92d8565e9e67e3b457e98575 Mon Sep 17 00:00:00 2001 From: fly Date: Wed, 21 Apr 2021 21:35:01 +0200 Subject: [PATCH] Make sure tmp dir is always there Signed-off-by: fly --- worldbuild-packager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worldbuild-packager.py b/worldbuild-packager.py index b376bea..7d4eb38 100755 --- a/worldbuild-packager.py +++ b/worldbuild-packager.py @@ -151,6 +151,8 @@ def update_index(output, part, name, name_major): update_parent_index(output, part, name_major) update_parent_index(output, "", part) +# Always make sure, your tmp dir exists +run("mkdir -p " + tmp_dir, shell=True) running = True while running: try: