Rename config build -> folder

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-01-21 22:19:34 +01:00
parent 401cb02fda
commit 5687ff7663
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ class MetaData(object):
slpkg_tmp_patches = _conf_slpkg["PATCHES"]
checkmd5 = _conf_slpkg["CHECKMD5"]
del_all = _conf_slpkg["DEL_ALL"]
del_build = _conf_slpkg["DEL_BUILD"]
del_folder = _conf_slpkg["DEL_BUILD"]
sbo_build_log = _conf_slpkg["SBO_BUILD_LOG"]
makeflags = _conf_slpkg["MAKEFLAGS"]
default_answer = _conf_slpkg["DEFAULT_ANSWER"]

View file

@ -40,5 +40,5 @@ def delete_package(path, packages):
def delete_folder(folder):
"""Delete folder with all files.
"""
if _meta_.del_build in ["on", "ON"] and os.path.exists(folder):
if _meta_.del_folder in ["on", "ON"] and os.path.exists(folder):
shutil.rmtree(folder)