Skip to content

Commit fb4d762

Browse files
committed
use clean_dir instead of remove_dir on installation directory for FDTD_Solutions easyblock
1 parent d9dec7f commit fb4d762

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

easybuild/easyblocks/f/fdtd_solutions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def build_step(self):
6464
def install_step(self):
6565
"""Install FDTD Solutions using copy tree."""
6666
fdtd_dir = os.path.join(self.cfg['start_dir'], 'opt', 'lumerical', 'fdtd')
67-
copy_dir(fdtd_dir, self.installdir, symlinks=self.cfg['keepsymlinks'])
67+
copy_dir(fdtd_dir, self.installdir, symlinks=self.cfg['keepsymlinks'], dirs_exist_ok=True)
6868

6969
def sanity_check_step(self):
7070
"""Custom sanity check for FDTD Solutions."""

0 commit comments

Comments
 (0)