From 9749558bbc58e17cabff5e8b4095c2d258a070d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Tue, 26 Feb 2019 12:32:55 +0100 Subject: [PATCH] Update build.py --- tools/build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build.py b/tools/build.py index 94f4debad..4de8e9c7d 100644 --- a/tools/build.py +++ b/tools/build.py @@ -280,8 +280,9 @@ def replace(file, searchExp, replaceExp): print('Featching files {}...'.format(color_string(obj,'\033[96m',auto_color))) shutil.copy2(obj, temp) - if not os.path.isdir('release'): - relase_folder = os.mkdir('release') + relase_folder = 'release' + if not os.path.isdir(relase_folder): + os.mkdir(relase_folder) if public_version: public_build = ' public'