mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Rename config build -> folder
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
401cb02fda
commit
5687ff7663
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue