Skip to content

Commit 282b1a9

Browse files
committed
use clean_dir instead of remove_dir on installation directory for Tkinter easyblock
1 parent d9dec7f commit 282b1a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

easybuild/easyblocks/t/tkinter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
from easybuild.easyblocks.generic.pythonpackage import det_pylibdir
4040
from easybuild.easyblocks.python import EB_Python
4141
from easybuild.tools.build_log import EasyBuildError
42-
from easybuild.tools.filetools import move_file, remove_dir
42+
from easybuild.tools.filetools import clean_dir, move_file
4343
from easybuild.tools.modules import get_software_root
4444
from easybuild.tools.systemtools import get_shared_lib_ext
4545

@@ -95,7 +95,7 @@ def install_step(self):
9595
# Reset the install directory and remove it if it already exists. It will not have been removed automatically
9696
# at the start of the install step, as self.installdir pointed at the temporary install directory.
9797
self.installdir = self.orig_installdir
98-
remove_dir(self.installdir)
98+
clean_dir(self.installdir)
9999

100100
dest_pylibdir = os.path.join(self.installdir, det_pylibdir())
101101

0 commit comments

Comments
 (0)