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'